Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
7 days ago
Test name Executions per second
Regex 3012022.0 Ops/sec
Native 5204726.0 Ops/sec
Regex with useragent having value 2958528.5 Ops/sec
NAtive with useragent having value 5200450.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Regex

  • Native

  • Regex with useragent having value

  • NAtive with useragent having value