HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Hooks
1.3M/s
Inline function
841K/s
Inline code
814K/s

Fastest: Hooks (1.6x faster)

View exact numbers
  • Hooks: 1,288,966 ops/sec
  • Inline function: 840,623 ops/sec
  • Inline code: 814,052 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
    Inline function
    Hooks
    Inline code

    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/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Hooks
1.5M/s
Inline function
1.2M/s
Inline code
1.2M/s
View exact numbers
Test name Executions per second
Hooks 1,463,230 Ops/sec
Inline function 1,188,015 Ops/sec
Inline code 1,174,405 Ops/sec