Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Regex 1 4907855.5 Ops/sec
Regex 2 181564.1 Ops/sec
Split 4373982.5 Ops/sec
Substring 24480556.0 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring