Test case name | Result |
---|---|
Native | |
Native + toFixed | |
break_infinity.js | |
big.js | |
bignumber.js | |
native big |
Test name | Executions per second |
---|---|
Native | 40062108.0 Ops/sec |
Native + toFixed | 3763739.5 Ops/sec |
break_infinity.js | 4136474.0 Ops/sec |
big.js | 979891.2 Ops/sec |
bignumber.js | 842483.3 Ops/sec |
native big | 18271820.0 Ops/sec |