cedricpinson/osgjs — pull request #14 by Kuranes (2012-11-29 18:22:22+00:00)
Title: Replace new Date.getTime by Window.performance & more complete stats

- Window.performance gives subms precision and avoiding new/gc problems
with new Date.getTime()
- More complete stats, and working on both chrome&firefox,if you launch
chrome with "--enable-memory-info" command line parameters you can
follow memory usage (and when gc kicks)
- refactored a bit stats, allowing for more kind of data (easier to add
other values than just ms, like polygon count, shader vars, draw calls,
etc)