3 ms·
Interesting, but I'm missing a benchmark or video comparison between a page built with fastdom and one without. How much of a difference does this actually make
by superice 11y ago
Interesting, but I'm missing a benchmark or video comparison between a page built with fastdom and one without. How much of a difference does this actually make? Is batching DOM operations really faster than just executing them whenever you want?
Do not understand me wrong, if this works as hoped, I think this might a really useful library, but I'm curious if it's worth the trouble of implementing.
- ygra 11y agoDid you miss the example links from the readme? - http://wilsonpage.github.io/fastdom/examples/animation.html http://wilsonpage.github.io/fastdom/examples/animation.html - http://wilsonpage.github.io/fastdom/examples/aspect-ratio.html http://wilsonpage.github.io/fastdom/examples/aspect-ratio.ht... Especially the animation example shows a very noticeable improvement.
- s_kilk 11y agoThe aspect-ratio demo shows a huge improvement too, especially if you crank up the number of nodes to 1000.