HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 47 community runs

Desktop Results:
Chrome 33 runs
Optional
39.1M/s
lodash
3.1M/s
radash
1.7M/s

Fastest: Optional (23.5x faster)

View exact numbers
  • Optional: 39,096,232 ops/sec
  • lodash: 3,051,186 ops/sec
  • radash: 1,660,838 ops/sec
Safari 5 runs
Optional
3.9M/s
lodash
3.4M/s
radash
2.1M/s

Fastest: Optional (1.9x faster)

View exact numbers
  • Optional: 3,864,451 ops/sec
  • lodash: 3,416,067 ops/sec
  • radash: 2,074,542 ops/sec
Mobile Results:
Chrome 9 runs
Optional
3.5M/s
lodash
1.9M/s
radash
1.3M/s

Fastest: Optional (2.7x faster)

View exact numbers
  • Optional: 3,502,369 ops/sec
  • lodash: 1,875,129 ops/sec
  • radash: 1,289,116 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
    Optional
    lodash
    radash

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0
Chrome 146 on Windows
View result in a separate tab
Optional
165.9M/s
lodash
6.4M/s
radash
4.0M/s
View exact numbers
Test name Executions per second
Optional 165,866,176 Ops/sec
lodash 6,419,873 Ops/sec
radash 4,011,764 Ops/sec