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
Create Vectors and Matrices without checking ARRAY_TYPE for zero-initialization.
<!-- GLMatrix Update -->
<script src="https://raw.githack.com/solarunes/gl-matrix/test/dist/gl-matrix.js"></script>
<script>
window.glMatrixUpdate = glMatrix;
</script>
<!-- GLMatrix v3.4.4 (release) -->
<script src="https://cdn.jsdelivr.net/npm/gl-matrix@3.4.4/gl-matrix-min.min.js"></script>Ready to run.
| Test | Ops/sec | |
|---|---|---|
| old vec2.create() | | ready |
| new vec2.create() | | ready |
| old vec3.create() | | ready |
| new vec3.create() | | ready |
| old vec4.create() | | ready |
| new vec4.create() | | ready |
| old mat2.create() | | ready |
| new mat2.create() | | ready |
| old mat2d.create() | | ready |
| new mat2d.create() | | ready |
| old mat3.create() | | ready |
| new mat3.create() | | ready |
| old mat4.create() | | ready |
| new mat4.create() | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.