HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 20 community runs

Desktop Results:
Chrome 20 runs
javascript
12.2M/s
lodash
1.5M/s

Fastest: javascript (8.0x faster)

View exact numbers
  • javascript: 12,249,688 ops/sec
  • lodash: 1,540,570 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
    javascript

    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/138.0.0.0 Safari/537.36
Chrome 138 on Mac OS X 10.15.7
View result in a separate tab
javascript
19.4M/s
lodash
2.1M/s
View exact numbers
Test name Executions per second
javascript 19,418,080 Ops/sec
lodash 2,133,659 Ops/sec