bignumber.js vs. big.js vs. decimal.js

JavaScript performance comparison

Revision 35 of this test case created by

Preparation code

<script src="https://rawgithub.com/iriscouch/bigdecimal.js/v0.6.1/lib/bigdecimal.js"></script>
<script src="https://rawgithub.com/MikeMcl/bignumber.js/v1.3.0/bignumber.min.js"></script>
<script src="https://rawgithub.com/MikeMcl/big.js/v2.5.0/big.min.js"></script>
<script src="https://rawgithub.com/MikeMcl/decimal.js/v2.0.3/decimal.min.js"></script>
<script src="https://rawgithub.com/MikeMcl/decimal.js/v7.2.1/decimal.min.js"></script>
    

Preparation code output

<script src="https://rawgithub.com/MikeMcl/bignumber.js/v1.3.0/bignumber.min.js"></script> <script src="https://rawgithub.com/MikeMcl/big.js/v2.5.0/big.min.js"></script> <script src="https://rawgithub.com/MikeMcl/decimal.js/v2.0.3/decimal.min.js"></script> <script src="https://rawgithub.com/MikeMcl/decimal.js/v7.2.1/decimal.min.js"></script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL.

0 Comments