HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 21 community runs

Desktop Results:
Chrome 21 runs
forEach
40K/s
double filter
26K/s
Lodash partition
24K/s

Fastest: forEach (1.7x faster)

View exact numbers
  • forEach: 39,538 ops/sec
  • double filter: 26,251 ops/sec
  • Lodash partition: 23,951 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
    double filter

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15
Safari 18 on Mac OS X 10.15.7
View result in a separate tab
forEach
38K/s
Lodash partition
33K/s
double filter
29K/s
View exact numbers
Test name Executions per second
forEach 37,765 Ops/sec
Lodash partition 32,760 Ops/sec
double filter 28,637 Ops/sec