Test name | Executions per second |
---|---|
Native toString() | 187796000.0 Ops/sec |
Native toFixed(9) | 12229570.0 Ops/sec |
bignumber.js toString() | 464372.2 Ops/sec |
bignumber.js toFixed(18) | 450995.3 Ops/sec |
big.js toString() | 566827.3 Ops/sec |
big.js toFixed(18) | 538810.3 Ops/sec |
decimal.js toString() | 474550.2 Ops/sec |
decimal.js toFixed(18) | 449886.5 Ops/sec |