mrdoob/stats.js — pull request #6 by mobz (2011-12-19 03:29:02+00:00)
Title: return fps stats from update method to caller

sometimes it is useful to know how code is performing (eg to reduce scene complexity if fps is low), this patch returns and object containing { fps, maxFps, minFps) from the update() method.