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
<!-- KineticJS -->
<div id="kinetic">
</div>
<script src="http://cdnjs.cloudflare.com/ajax/libs/kineticjs/5.0.6/kinetic.min.js">
</script>
<!-- EaselJS -->
<canvas id="demoCanvas" width="500" height="300">
</canvas>
Benchmark.prototype.setup = function() {
var stage = new Kinetic.Stage({
container: 'kinetic',
width: 300,
height: 150
});
var layer = new Kinetic.Layer({
hitGraphEnabled: false
});
layer.add(new Kinetic.Rect({
width: 100,
height: 100,
fill: '#f55',
transformsEnabled: 'position'
}));
stage.add(layer);
var easelStage = new createjs.Stage("demoCanvas");
var circle = new createjs.Shape();
circle.graphics.beginFill("red").drawCircle(0, 0, 50);
circle.x = 100;
circle.y = 100;
stage.addChild(circle);
};
Ready to run.
Test | Ops/sec | |
---|---|---|
KineticJS Render Circle |
| ready |
EaselJS Render Circle |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.