Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inferno v4 + all libraries updated #10

Closed
wants to merge 4 commits into from
Closed

Conversation

Havunen
Copy link
Contributor

@Havunen Havunen commented Jan 13, 2018

I Updated all libraries and added "inferno optimized" as example how to optimize inferno at application level. I could not get MarkoJS to build using latest rollup, all other libraries seem to work ok. I also updated Inferno to v4. There has been major refactoring in Server side rendering and normalization process.

Hopefully somebody with MarkoJS knowledge could fix that build error.

Results SSR:

Warming up...

Warmup complete.

Running "search-results"...

Running benchmark "preact"...

preact x 742 ops/sec ±0.38% (94 runs sampled)

Running benchmark "react"...

react x 704 ops/sec ±0.50% (93 runs sampled)

Running benchmark "vue"...

vue x 1,409 ops/sec ±3.97% (68 runs sampled)

Running benchmark "inferno"...

inferno x 2,935 ops/sec ±0.30% (94 runs sampled)

Running benchmark "infernoOptimized"...

infernoOptimized x 3,295 ops/sec ±1.16% (94 runs sampled)

Fastest is infernoOptimized

--------------


Warming up...

Warmup complete.

Running "color-picker"...

Running benchmark "preact"...

preact x 4,454 ops/sec ±0.27% (95 runs sampled)

Running benchmark "react"...

react x 3,598 ops/sec ±0.73% (94 runs sampled)

Running benchmark "vue"...

vue x 7,603 ops/sec ±3.35% (75 runs sampled)

Running benchmark "inferno"...

inferno x 19,222 ops/sec ±0.35% (97 runs sampled)

Running benchmark "infernoOptimized"...

infernoOptimized x 20,841 ops/sec ±0.43% (89 runs sampled)

Fastest is infernoOptimized

--------------

Client side:

Search-results

Warming up...
Warmup complete.
Running "search-results"...
Running benchmark "preact"...
preact x 270 ops/sec ±1.04% (62 runs sampled)
Running benchmark "react"...
react x 297 ops/sec ±1.18% (59 runs sampled)
Running benchmark "vue"...
vue x 205 ops/sec ±2.12% (59 runs sampled)
Running benchmark "inferno"...
inferno x 422 ops/sec ±0.66% (61 runs sampled)
Running benchmark "infernoOptimized"...
infernoOptimized x 454 ops/sec ±1.51% (60 runs sampled)
Fastest is infernoOptimized

--------------

Color-picker

Warming up...
Warmup complete.
Running "color-picker"...
Running benchmark "preact"...
preact x 3,407 ops/sec ±0.84% (61 runs sampled)
Running benchmark "react"...
react x 5,835 ops/sec ±1.43% (33 runs sampled)
Running benchmark "vue"...
vue x 3,337 ops/sec ±1.21% (21 runs sampled)
Running benchmark "inferno"...
inferno x 12,155 ops/sec ±0.90% (61 runs sampled)
Running benchmark "infernoOptimized"...
infernoOptimized x 19,702 ops/sec ±1.84% (61 runs sampled)
Fastest is infernoOptimized

--------------

MarkoJS is missing from results, because I could not make it to build.

@jsf-clabot
Copy link

jsf-clabot commented Jan 13, 2018

CLA assistant check
All committers have signed the CLA.

@DylanPiercey
Copy link
Contributor

@Havunen thanks for this PR. Sorry it has taken so long to respond.

I went ahead and refreshed a bunch of stuff in this repo (needed rollup/babel and all other packages updated). I went ahead and included the optimizations you provided in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants