Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/128.0.6613.98 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 128
iOS 17.6
Mobile
2 months ago
Test name Executions per second
JSON 180160.4 Ops/sec
Regex 322956.0 Ops/sec
String search 403858.3 Ops/sec
indexOf 419346.3 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf