Tests:
-
Split on space
-
Regex replace and trim
-
Regex replace without global
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0
Firefox 151 on Linux
View result in a separate tab
Regex replace without global
22.2M/s
Regex replace and trim
10.9M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Regex replace without global
|
22,173,222 Ops/sec |
|
Regex replace and trim
|
10,948,417 Ops/sec |
|
Split on space
|
10,070,045 Ops/sec |
Do you really want to delete benchmark?