Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Windows
Desktop
27 days ago
Test name Executions per second
Native 2133901568.0 Ops/sec
Native + toFixed 24970152.0 Ops/sec
break_infinity.js 1814730.8 Ops/sec
big.js 2084983.6 Ops/sec
bignumber.js 1929691.2 Ops/sec
native big 77197504.0 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • break_infinity.js

  • big.js

  • bignumber.js

  • native big