HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
Keys and then forEach
10.2M/s
lodash forOwn
7.0M/s

Fastest: Keys and then forEach (1.5x faster)

View exact numbers
  • Keys and then forEach: 10,222,309 ops/sec
  • lodash forOwn: 6,978,368 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
    lodash forOwn
    Keys and then forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145 on Windows
View result in a separate tab
Keys and then forEach
33.1M/s
lodash forOwn
8.7M/s
View exact numbers
Test name Executions per second
Keys and then forEach 33,141,216 Ops/sec
lodash forOwn 8,665,680 Ops/sec