3 ms·
Where are you getting that number? The benchmarks in the readme show morphdom being much slower for several operations.
by RussianCow 10y ago
Where are you getting that number? The benchmarks in the readme show morphdom being much slower for several operations.
- bobwaycott 10y ago5 out of 31? And I'd say only 3 are noticeably slower, and only 1 seems to be "much" slower (at 0.38ms). But given that just about everything benchmarked seems to be sub-0.05ms, I'm left thinking that gaining noticeable and much-increased performance is highly dependent on operations, and a high-precision timer. Humans aren't going to notice a difference between an operation lasting 0.04ms vs 0.02ms. Unless a ton of operations add up to something noticeable, of course. After looking into it further, morphdom appears to be a solid alternative to virtual DOMs. Seems worth having around for that reason alone, especially if it were to improve with time, or become used by other tools.