choojs / choo

:steam_locomotive::train: - sturdy 4kb frontend framework
https://choo.io/
MIT License
6.78k stars 595 forks source link

Fractals benchmark #515

Open ricardobeat opened 7 years ago

ricardobeat commented 7 years ago

I spent some time today porting react-fractals to choo. You can see the result at http://choo-fractals.surge.sh, source at ricardobeat/choo-fractals.

Preact version used as base: https://preact-factals.surge.sh/

A comparison of several rendering engines: https://swizec.com/blog/animating-svg-nodes-react-preact-inferno-vue/swizec/7311

Performance is okayish - it gets really sluggish after 7-8 levels. I guess this is more of a benchmark on bel/nanomorph, and it's also my first time using this lib, so it looks a bit rough - suggestions for optimizations are very welcome.

yoshuawuyts commented 7 years ago

Oh cool! - yeah, I think https://github.com/yoshuawuyts/choo/issues/492 and might be related https://github.com/yoshuawuyts/nanomorph/pull/71. With the choo 6 branch we should be able to figure out a lil better what causes slowdowns too; anyway very cool that you're looking into this - if we can figure out our bottlenecks maybe we can optimize them :D