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

feat: add marko #11

Merged
merged 2 commits into from Mar 16, 2017
Merged

feat: add marko #11

merged 2 commits into from Mar 16, 2017

Conversation

@mlrawlings
Copy link
Contributor

@mlrawlings mlrawlings commented Jan 19, 2017

This PR adds the Marko UI library to the benchmarks (using the upcoming marko v4 release). Marko achieves a very performant render on the server by writing to a string buffer (which supports streaming) when running on the server, but when used client-side it uses a virtual dom implementation.

Benchmark Results

The following are the results from a run on my machine (details below). You can re-run on your own machine before updating the README results.

MacBook Pro (15-inch, 2016)

  • macOS Sierra 10.12.2
  • 2.9 GHz Intel Core i7
  • 16 GB 2133 MHz LPDDR3
  • Node v7.4.0

Versions used

  • marko@4.0.0-rc.5
  • rax@0.1.4
  • react@15.4.2
  • preact@7.1.0
  • vue@v2.1.10
Rax#renderToString x 301 ops/sec ±3.94% (70 runs sampled)
React#renderToString x 173 ops/sec ±1.06% (78 runs sampled)
Preact#renderToString x 1,183 ops/sec ±0.84% (87 runs sampled)
Vue#renderToString x 657 ops/sec ±3.98% (72 runs sampled)
Marko#renderToString x 7,483 ops/sec ±4.63% (80 runs sampled)
Fastest is Marko#renderToString
@imsobear
Copy link
Collaborator

@imsobear imsobear commented Jan 22, 2017

Thanks for your PR. I will learn to understand Marko and decide whether to merge. @mlrawlings

@yuanyan yuanyan merged commit be0d07b into raxjs:master Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants