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
<script src="http://paperjs.org/static/js/paper-new.js"></script>
<script src="https://github.com/downloads/processing-js/processing-js/processing-1.4.1.min.js"></script>
<script src="http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js"></script>
<script src="http://thesis.web-pilot.cz/scanvas.js"></script>
<canvas id="context" width="100" height="100"></canvas>
<canvas id="paper" width="100" height="100"></canvas>
<canvas id="processing" width="100" height="100"></canvas>
<span id="rafael"></span>
<div id="scanvas"><canvas width="100" height="100"></canvas></div>
<script>
var contextCanvas = document.getElementById("context");
var ctx = contextCanvas.getContext("2d");
var paperCanvas = document.getElementById("paper");
paper.setup(paperCanvas);
var paperPoint1 = new paper.Point(0, 0);
var paperPoint2 = new paper.Point(50, 50);
var paperPath;
var processingCanvas = document.getElementById("processing");
var processingInstance = new Processing(processingCanvas, null);
processingInstance.background(255);
var raphaelInstance = Raphael("rafael", 100, 100);
var refaelRect;
var scanvasInstance = new sCanvas("scanvas");
var scanvasRect;
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Context - rect |
| ready |
Context - path |
| ready |
Paper.js |
| ready |
Processing.js |
| ready |
Raphaël |
| ready |
sCanvas |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.