Script Preparation code:
Tests:

Historical Performance Data aggregated from 32 community runs

Desktop Results:
Chrome 17 runs
use existing regex
13.1M/s
instantiate new regex
12.3M/s
View exact numbers
  • use existing regex: 13,144,718 ops/sec
  • instantiate new regex: 12,291,778 ops/sec
Firefox 15 runs
instantiate new regex
28.0M/s
use existing regex
27.8M/s
View exact numbers
  • instantiate new regex: 27,980,926 ops/sec
  • use existing regex: 27,798,368 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
    instantiate new regex
    use existing regex

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Chrome 149 on Mac OS X 10.15.7
View result in a separate tab
use existing regex
25.8M/s
instantiate new regex
25.3M/s
View exact numbers
Test name Executions per second
use existing regex 25,807,870 Ops/sec
instantiate new regex 25,318,282 Ops/sec