HTML Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
Vanilla JS
4.1M/s
jQuery
963K/s

Fastest: Vanilla JS (4.3x faster)

View exact numbers
  • Vanilla JS: 4,137,578 ops/sec
  • jQuery: 963,201 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
    jQuery
    Vanilla 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/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15
Safari 16 on Mac OS X 10.15.7
View result in a separate tab
Vanilla JS
9.8M/s
jQuery
947K/s
View exact numbers
Test name Executions per second
Vanilla JS 9,766,132 Ops/sec
jQuery 947,265 Ops/sec