Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Windows
Desktop
7 months ago
Test name Executions per second
JSON 140738.6 Ops/sec
Regex 709486.4 Ops/sec
String search 1793191.8 Ops/sec
indexOf 1818113.6 Ops/sec
Script Preparation code:
Tests:
  • JSON

  • Regex

  • String search

  • indexOf