Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Benchmarks are definitely coming.

In theory Riot is super fast. The DOM is parsed once when a tag is initialized and after that the text nodes and attributes are only updated if the expression results to a different value. The expressions are compiled and cached.

Any performance bottleneck can be fixed.



> Benchmarks are definitely coming.

Beware the way you're benchmarking, e.g. immutable structures and pure (& immutable-state-aware) components can make a pretty huge difference in react.


Yes. This is indeed a big challenge.

Maybe I can just use the TodoMVC app.


Yeah Matt Esch (virtual-dom) has a bench based on todomvc: https://github.com/matt-esch/mercury-perf http://matt-esch.github.io/mercury-perf/

Or http://evancz.github.io/todomvc-perf-comparison/ which seems to be an older version of the same bench but has a better output.


Thanks. I think comparing Riot with React is most important initially. And there is no Riot 2.0 TodoMVC example available yet.

I also think that Riot performance can be further optimized.

Slowly getting there...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: