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

Improve performance measurement #68

Closed lhorie closed 8 years ago

lhorie commented 8 years ago

@localvoid, @trueadm and I found out that Bootstrap's CSS incurs measurable CSS recalc costs.

This PR refactors out bootstrap for all dbmonster implementations leaving only the styles that are actually used by the page, so that the FPS count reflects more accurately the library render times, as opposed to also measuring the time the browser is busy wading through Bootstrap CSS rules.

mathieuancelin commented 8 years ago

That's a very nice PR. Thanks for the hard work @lhorie @localvoid @trueadm