Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.6.1
Mobile
3 months ago
Test name Executions per second
Native 564301760.0 Ops/sec
Native + toFixed 15517422.0 Ops/sec
decimal.js 1877610.2 Ops/sec
big.js 2633417.5 Ops/sec
bignumber.js 1305865.9 Ops/sec
HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js