Script Preparation code:
Tests:

Historical Performance Data aggregated from 20 community runs

Desktop Results:
Chrome 20 runs
regex.test
15.2M/s
regex.exec
11.5M/s

Fastest: regex.test (1.3x faster)

View exact numbers
  • regex.test: 15,220,298 ops/sec
  • regex.exec: 11,489,192 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
    regex.exec
    regex.test

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Mobile Safari/537.36
Chrome Mobile 147 on Android
View result in a separate tab
regex.test
58.9M/s
regex.exec
40.9M/s
View exact numbers
Test name Executions per second
regex.test 58,867,800 Ops/sec
regex.exec 40,922,256 Ops/sec