This repository has been archived by the owner. It is now read-only.

feat: add marko #11

merged 2 commits into from Mar 16, 2017


None yet
3 participants
Copy link

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

This comment has been minimized.

Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.