uupaa.particlebench.js
v0.8.11
Published
Particle benchmark
Downloads
17
Readme
========= ParticleBench.js
Particle benchmake.
Document
How to use
<script src="lib/UIThreadRender.js">
<script>
var viewNode = document.querySelector("#view");
var fpsNode = document.querySelector("#fps");
var param = { count: 30000, canvas: viewNode };
var bench = new UIThreadRender(param, function(fps, skipped) {
fpsNode.textContent = fps.toFixed(2) + "(frameSkipped: " + skipped + ")";
}).run();
</script>