performance

get statistics on the performance

virtuosity.engine2d.performance

Methods


Methods

fps

frames per second

virtuosity.engine2d.performance.fps(canvas);


Parameter Type Description
canvas String id of the canvas to get fps from

fpsMin

minimum frames per second so far

virtuosity.engine2d.performance.fpsMin(canvas);


Parameter Type Description
canvas String id of the canvas to get fpsMin from

fpsMax

maximum frames per second so far

virtuosity.engine2d.performance.fpsMax(canvas);


Parameter Type Description
canvas String id of the canvas to get fpsMax from

fpsAvg

average frames per second over the canvas fpsBuffer

virtuosity.engine2d.performance.fpsAvg(canvas);


Parameter Type Description
canvas String id of the canvas to get fpsAvg from