HTML Preparation code:
Tests:

Historical Performance Data aggregated from 16 community runs

Desktop Results:
Chrome 16 runs
availWidth
5.2M/s
innerWidth
2.5M/s

Fastest: availWidth (2.1x faster)

View exact numbers
  • availWidth: 5,242,013 ops/sec
  • innerWidth: 2,487,198 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
    availWidth
    innerWidth

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
availWidth
5.2M/s
innerWidth
1.8M/s
View exact numbers
Test name Executions per second
availWidth 5,156,006 Ops/sec
innerWidth 1,771,285 Ops/sec