Run details:
Mozilla/5.0 (Linux; Android 13; K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.88 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
2 months ago
Test name Executions per second
JSON 56642.5 Ops/sec
Regex 246344.7 Ops/sec
String search 187740.8 Ops/sec
indexOf 183814.5 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf