Tests:

Historical Performance Data aggregated from 25 community runs

Desktop Results:
Chrome 25 runs
RegEx
8.9M/s
new URL
857K/s

Fastest: RegEx (10.4x faster)

View exact numbers
  • RegEx: 8,913,278 ops/sec
  • new URL: 856,949 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
    new URL
    RegEx

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Windows
View result in a separate tab
RegEx
5.7M/s
new URL
584K/s
View exact numbers
Test name Executions per second
RegEx 5,666,773 Ops/sec
new URL 584,160 Ops/sec