Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Windows
Desktop
one month ago
Test name Executions per second
Native 2834404608.0 Ops/sec
Native + toFixed 23904602.0 Ops/sec
decimal.js 1893497.1 Ops/sec
big.js 2578251.2 Ops/sec
bignumber.js 1562790.4 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js