Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Windows
Desktop
7 months ago
Test name Executions per second
Native 1347279616.0 Ops/sec
Native + toFixed 13795684.0 Ops/sec
decimal.js 984893.6 Ops/sec
big.js 1327674.8 Ops/sec
bignumber.js 674345.4 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js