FastStats is a highly optimized Stats package that supports DisplayList, ND2D and Starling. It is designed for benchmarking GPU Accelerated Flash content with as little performance impact as possible.
The core goal is to provide a Stats package which works with all major 2D rendering engines, so we no longer need to use different libs depending on the project. Unlike other Stats packages, which rely on displayList, TextFields and Graphic’s API, FastStats uses cached textures to render everything. This allows it to be easily optimized for GPU based rendering.
new FastStats(regularSprite); // or new FastStatsStarling(starlingSprite) // or new FastStatsND2D(node2d); // or new FastStats(myContainerSprite); myContainerSprite.x = 100; // then trace(FastStats.fps);