HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 16 community runs

Desktop Results:
Chrome 16 runs
Math.floor()
10.7M/s
Lodash _.floor()
10.2M/s
View exact numbers
  • Math.floor(): 10,718,602 ops/sec
  • Lodash _.floor(): 10,160,416 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
    Math.floor()
    Lodash _.floor()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Chrome 139 on Mac OS X 10.15.7
View result in a separate tab
Math.floor()
223.8M/s
Lodash _.floor()
210.3M/s
View exact numbers
Test name Executions per second
Math.floor() 223,809,360 Ops/sec
Lodash _.floor() 210,337,056 Ops/sec