Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
Native 217375008.0 Ops/sec
Native + toFixed 12711309.0 Ops/sec
break_infinity.js 3123314.0 Ops/sec
big.js 1771178.8 Ops/sec
bignumber.js 935639.1 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • break_infinity.js

  • big.js

  • bignumber.js