How to measure render time in Javascript (IE 11)? -


i have small canvas animation i'd measure render time in javascript. got following result ie 11 dev tool:

screenshot below performance

in time interval 0-7,5 sec animation not in viewport, there no rendering process visible (purple on screenshot). in interval 7,5-end, when animation in viewport, changed. i'd measure. don't these results if try measure time following:

var t0 = performance.now(); render(); var t1 = performance.now(); console.log(t1 - t0); 

is there way detect rendering process same results shown on screenshot?


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -