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

Add optimized version of Simulacra.js #85

Closed gr0uch closed 8 years ago

gr0uch commented 8 years ago

The optimized version requires no significant changes to the app, but rather this adds an optimized ENV.js which avoids unnecessary assignments. Since Simulacra.js updates the DOM immediately on property assignments, this was a performance bottleneck which other libs do not have since they do not render immediately in reaction to changes.