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: one month ago)
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115 on Linux
View result in a separate tab
Test name Executions per second
Native 682086336.0 Ops/sec
Native + toFixed 11560860.0 Ops/sec
decimal.js 676036.6 Ops/sec
big.js 898528.6 Ops/sec
bignumber.js 603740.9 Ops/sec
bigdecimal.js 39445.1 Ops/sec
Fraction.js 709598.2 Ops/sec


;