Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Firefox 51
Windows
Other
8 years ago
Test name Executions per second
for loop 980088.7 Ops/sec
indexof ubstring test 3700696.0 Ops/sec
Regex 4299475.0 Ops/sec
Tests:
  • for loop

  • indexof ubstring test

  • Regex