Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/120.0.6099.101 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 120
iOS 17.1
Mobile
one year ago
Test name Executions per second
JSON 225046.0 Ops/sec
Regex 378509.7 Ops/sec
String search 390902.9 Ops/sec
indexOf 412170.3 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf