HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 17 community runs

Desktop Results:
Chrome 17 runs
JS
30.6M/s
_.first
11.2M/s

Fastest: JS (2.7x faster)

View exact numbers
  • JS: 30,597,360 ops/sec
  • _.first: 11,239,712 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
    _.first
    JS

    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/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
JS
159.4M/s
_.first
132.8M/s
View exact numbers
Test name Executions per second
JS 159,356,208 Ops/sec
_.first 132,781,328 Ops/sec