mathieuancelin / js-repaint-perfs

Playground to test repaint rates of JS libs
http://mathieuancelin.github.io/js-repaint-perfs/
255 stars 111 forks source link

Make things way faster #110

Closed dead-claudia closed 7 years ago

dead-claudia commented 7 years ago

Compare yours with mine. The performance is more variable, but it minimizes DOM changes each refresh. In addition, it performs zero node lookups, caching literally every one it modifies, and it modifies the text value directly.

Yep, performance like a mad man. 😄

leeoniya commented 7 years ago

@isiahmeadows yours has bug in not setting the label className - all the labels are always green. otherwise, nice. i think this benchmark needs to move to @localvoid's perf-monitor [1]. it has much better stability and lies less.

[1] https://github.com/localvoid/perf-monitor

dead-claudia commented 7 years ago

@leeoniya Thanks for the catch! I didn't even notice... 😟

Should be fixed now.