HTML Preparation code:
Tests:

Historical Performance Data aggregated from 31 community runs

Desktop Results:
Chrome 31 runs
Without try/catch
4.4M/s
Try/catch
283K/s

Fastest: Without try/catch (15.6x faster)

View exact numbers
  • Without try/catch: 4,427,802 ops/sec
  • Try/catch: 283,410 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
    Try/catch
    Without try/catch

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146 on Mac OS X 10.15.7
View result in a separate tab
Without try/catch
10.0M/s
Try/catch
535K/s
View exact numbers
Test name Executions per second
Without try/catch 10,046,331 Ops/sec
Try/catch 534,798 Ops/sec