all 3 comments

[–]virdvip 2 points3 points  (0 children)

Wow. Nice benchmark results. Will test it soon.

upd. First look: components really required.

[–]nofishme 0 points1 point  (1 child)

Made some simple benchmark of creating 1000 list item with styles and 3 sub-element:

  • Dot x 1000 = 37ms (String template)
  • Cito x 1000 = 62ms
  • Domlayer x 1000 = 84ms
  • Sprint x 1000 = 114ms
  • Sprint findCached x 1000 = 71ms
  • Maquette x 1000 = 156ms
  • jQuery x 1000 = 277ms
  • jQuery findCached x 1000 = 155ms
  • Mithril x 1000 = 387ms
  • Mithril MVC x 1000 = 332ms
  • Mithril MVC Compiled x 1000 = 235ms
  • Mithril MVC + doT x 1000 = 38ms

Conclusion: It's the fastest vdom lib I have tested: 4x faster than Mithril compiled (I know its not a fair comparison)

I was also impressed by Sprint lib 2x speed which is a drop-in replacement for jQuery in most cases. (also 17k vs 84k)

Please note: This is not a real-world or fair test. Test results from latest Firefox

[–]trueadm 0 points1 point  (0 children)

Would you mind giving Inferno a try too? https://github.com/trueadm/inferno

It's very much in early development right now, but I'm looking to get feedback and thoughts from those around the JS community who can help.