Run details:
Mozilla/5.0 (Linux; Android 14; SAMSUNG SM-S908B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/23.0 Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
10 months ago
Test name Executions per second
JSON 80404.0 Ops/sec
Regex 537642.6 Ops/sec
String search 298843.0 Ops/sec
indexOf 298553.7 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf