HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js

  • bigdecimal.js

  • Fraction.js

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Native
    Native + toFixed
    decimal.js
    big.js
    bignumber.js
    bigdecimal.js
    Fraction.js

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130 on Linux
View result in a separate tab
Test name Executions per second
Native 1839765760.0 Ops/sec
Native + toFixed 20645804.0 Ops/sec
decimal.js 1127632.2 Ops/sec
big.js 1564494.8 Ops/sec
bignumber.js 1022791.6 Ops/sec
bigdecimal.js 69289.4 Ops/sec
Fraction.js 1915052.4 Ops/sec


;