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>
const caveDrawStrategyStates = {
caveA: {
drawPointStates: {
drawPointA: {tonnes: 100},
drawPointB: {tonnes: 200},
drawPointC: {tonnes: 100},
drawPointD: {tonnes: 200},
drawPointE: {tonnes: 100},
drawPointF: {tonnes: 200},
drawPointG: {tonnes: 100},
drawPointH: {tonnes: 200},
drawPointI: {tonnes: 100},
drawPointJ: {tonnes: 200},
drawPointK: {tonnes: 100},
drawPointL: {tonnes: 200},
drawPointM: {tonnes: 100},
drawPointN: {tonnes: 200},
drawPointO: {tonnes: 100},
drawPointP: {tonnes: 200},
drawPointQ: {tonnes: 200},
drawPointR: {tonnes: 100},
drawPointS: {tonnes: 200},
drawPointT: {tonnes: 100},
drawPointU: {tonnes: 200},
drawPointV: {tonnes: 100},
drawPointW: {tonnes: 200},
drawPointX: {tonnes: 100},
drawPointY: {tonnes: 200},
drawPointZ: {tonnes: 200},
}
},
caveB: {
drawPointStates: {
drawPointE: {tonnes: 100},
drawPointF: {tonnes: 200},
drawPointG: {tonnes: 100},
drawPointH: {tonnes: 200},
}
}
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
spread em |
| ready |
for loop em |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.