2 ms·
I asked the author if he could put together a dbmon so we could compare apples to apples. Unfortunately, React is not a good representative of modern virtual do
by lhorie 10y ago
I asked the author if he could put together a dbmon so we could compare apples to apples. Unfortunately, React is not a good representative of modern virtual dom overhead/performance. On dbmon, React is somewhere between one and two order of magnitudes slower than many virtual dom libraries (e.g. mithril rewrite, inferno, kivi), with render times in the 60-100ms range (vs 2-10ms range for the other libs), and proportionally similar results in vdom benchmark.
As far as I could see, Monkberry doesn't implement the search space reduction algorithm that the libraries above do, and uses only mapped reordering, so I'm curious if its compilation+mapped reordering combo can outperform search space reduction w/ a virtual dom overhead.
Anyways, regardless of how well it does against vdom libs that do take advantage of hidden classes etc, I really like the execution of this project.