jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
<!-- EaselJS -->
<canvas id="easCanvas" width="40" height="40">
</canvas>
<script src="http://code.createjs.com/createjs-2014.12.12.min.js">
</script>
<!-- pixi.js -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/pixi.js/2.2.1/pixi.js">
</script>// =================== EaselJS
var stage = new createjs.Stage('easCanvas');
circle = new createjs.Shape();
circle.graphics.beginFill('red').drawCircle(20, 20, 20);
stage.addChild(circle);
stage.update();
var easStage = stage;
// =================== PixiJS
var stage2 = new PIXI.Stage(0x66FF99);
var renderer = new PIXI.CanvasRenderer(40, 40);
document.body.appendChild(renderer.view);
var c = new PIXI.Graphics();
c.beginFill();
c.drawCircle(20, 20, 20);
c.endFill();
stage2.addChild(c);Ready to run.
| Test | Ops/sec | |
|---|---|---|
| EaselJs spritesheet animation | | ready |
| PixiJS spritesheet animation | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.