HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
forEach
32K/s
Lodash partition
16K/s

Fastest: forEach (2.0x faster)

View exact numbers
  • forEach: 31,671 ops/sec
  • Lodash partition: 15,896 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 partition
    forEach

    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/134.0.0.0 Safari/537.36
Chrome 134 on Mac OS X 10.15.7
View result in a separate tab
forEach
43K/s
Lodash partition
15K/s
View exact numbers
Test name Executions per second
forEach 43,012 Ops/sec
Lodash partition 14,986 Ops/sec