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://rawgit.com/dtrebbien/BigDecimal.js/master/build/BigDecimal-all-last.min.js"></script>
<script src="https://rawgithub.com/MikeMcl/bignumber.js/master/bignumber.min.js"></script>
<script src="https://rawgithub.com/MikeMcl/big.js/master/big.min.js"></script>
<script src="https://rawgithub.com/MikeMcl/decimal.js/master/decimal.min.js"></script>
var integerPart = (+new Date) % 100000000;
var decmialA = 0.1234562;
var decmialB = 0.1234564;
var valA = integerPart + decmialA;
var valB = Math.log(integerPart) + decmialB;
window.valA = valA;
window.valB = valB;
Ready to run.
Test | Ops/sec | |
---|---|---|
BigNumber |
| ready |
Big |
| ready |
Decimal |
| ready |
BigDecimal |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.