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
This test compares the rendering speeds of images different sizes and resolutions.
<!-- native canvas -->
<canvas id="natCanvas" width="1920" height="1080">
</canvas>
<script src="http://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.1.0/fabric.all.min.js">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<img src=".src= "http://www.letsgodigital.org/images/artikelen/35/d90-test-photo.jpg";" />// =================== native canvas
var natCanvas = document.getElementById('natCanvas');
var natContext = natCanvas.getContext('2d');
// =================== Fabric.js
var fabCanvas = new fabric.Canvas('natCanvas');Ready to run.
| Test | Ops/sec | |
|---|---|---|
| KineticJS Render Circle | | ready |
| Fabric.js Render Circle | | ready |
| Native Canvas | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.