Tests:

Historical Performance Data aggregated from 18 community runs

Desktop Results:
Chrome 11 runs
trunc
176.8M/s
round
168.3M/s
floor
167.2M/s
View exact numbers
  • trunc: 176,806,240 ops/sec
  • round: 168,291,808 ops/sec
  • floor: 167,243,760 ops/sec
Firefox 7 runs
floor
979.8M/s
round
968.3M/s
trunc
964.1M/s
View exact numbers
  • floor: 979,760,256 ops/sec
  • round: 968,251,776 ops/sec
  • trunc: 964,141,760 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    trunc
    round
    floor

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0
Firefox 149 on Linux
View result in a separate tab
round
567.1M/s
trunc
551.4M/s
floor
545.5M/s
View exact numbers
Test name Executions per second
round 567,068,864 Ops/sec
trunc 551,447,616 Ops/sec
floor 545,512,640 Ops/sec