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

Ripple weird values #76

Closed boussou closed 8 years ago

boussou commented 8 years ago

Ripple has a setinterval instead of settimeout (like it is with the others). this gives strange values for me (like 200 instead of 30). I changed it to the following:

function loadSamples() { ripple('databases', ENV.generateData().toArray()) Monitoring.renderRate.ping() setTimeout(loadSamples, ENV.timeout); }

(I took the code from the ractive version)

Generally speaking, each benchmark should use the same timeout function IMHO

mathieuancelin commented 8 years ago

Hi,

that's strange indeed. You can send me a PR to fix the code of the Rippple implementation