Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Linux
Desktop
18 days ago
Test name Executions per second
Native 65301356.0 Ops/sec
Native + toFixed 5742288.5 Ops/sec
decimal.js 582209.4 Ops/sec
big.js 950826.6 Ops/sec
bignumber.js 567121.2 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js


;