Codelahoma!

Where the rants come sweeping down the plain.

This is Rod Knowlton's tumblelog for software development type stuff.

Sep 11

QuirksBlog: Reading out the end time in browser speed tests

The problem here is that the entire test, including the time measurements, are wrapped in one function, and that some browsers only applies the result of the test (i.e. the changes in the DOM you want to test) to the screen after the function has ended entirely. Thus the end timestamp is read before the browser has applied the result to the screen.

  • Permalink
  • Comments
  • Posted at 12:17pm
← Previous Post Next Post →
  • Archives
  • Random
  • Mobile
  • RSS
  • powered by Tumblr
  • ER2 theme by Bill Israel