Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Linux
Desktop
one year ago
Test name Executions per second
Native 972957184.0 Ops/sec
Native + toFixed 9090834.0 Ops/sec
decimal.js 658354.9 Ops/sec
big.js 888016.0 Ops/sec
bignumber.js 530246.5 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js