Script Preparation code:
Tests:

Historical Performance Data aggregated from 17 community runs

Desktop Results:
Chrome 11 runs
Splitting
40.7M/s
Regex
29.6M/s

Fastest: Splitting (1.4x faster)

View exact numbers
  • Splitting: 40,717,476 ops/sec
  • Regex: 29,645,482 ops/sec
Firefox 6 runs
Regex
33.5M/s
Splitting
25.5M/s

Fastest: Regex (1.3x faster)

View exact numbers
  • Regex: 33,541,668 ops/sec
  • Splitting: 25,514,564 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
    Splitting
    Regex

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Chrome 150 on Mac OS X 10.15.7
View result in a separate tab
Splitting
40.6M/s
Regex
5.8M/s
View exact numbers
Test name Executions per second
Splitting 40,565,524 Ops/sec
Regex 5,755,972 Ops/sec