Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Linux
Desktop
2 months ago
Test name Executions per second
JSON 155206.8 Ops/sec
Regex 690697.9 Ops/sec
String search 1828744.9 Ops/sec
indexOf 1875152.5 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf