Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
one year ago
Iteration and String.includes
6.9M/s
View exact numbers
| Test name |
Executions per second |
|
✓
RegEx.test
|
39,401,532 Ops/sec |
|
String.match
|
25,289,940 Ops/sec |
|
Iteration and String.includes
|
6,887,146 Ops/sec |
Tests:
-
RegEx.test
-
Iteration and String.includes
-
String.match