Splitting vs RegexFastest: Splitting (1.4x faster)
40,717,476 ops/sec
29,645,482 ops/sec
Fastest: Regex (1.3x faster)
33,541,668 ops/sec
25,514,564 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Splitting | |
| Regex |
| Test name | Executions per second |
|---|---|
| ✓ Splitting | 40,565,524 Ops/sec |
| Regex | 5,755,972 Ops/sec |