Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Windows
Desktop
9 months ago
Test name Executions per second
JSON 62648.5 Ops/sec
Regex 330755.1 Ops/sec
String search 411697.6 Ops/sec
indexOf 413998.2 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf