HTML Preparation code:
Tests:
  • Native

  • Native + toFixed

  • decimal.js

  • big.js

  • bignumber.js

  • currency.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
    currency.js

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
Native 73116304.0 Ops/sec
Native + toFixed 6195317.0 Ops/sec
decimal.js 697352.7 Ops/sec
big.js 1178687.8 Ops/sec
bignumber.js 723895.8 Ops/sec
currency.js 438439.8 Ops/sec