Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:134.0) Gecko/20100101 Firefox/134.0
Firefox 134
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
simple regex 3304705.5 Ops/sec
regex with no lookbehind 3356465.0 Ops/sec
split + filter + join 2637390.8 Ops/sec
Script Preparation code:
Tests:
  • simple regex

  • regex with no lookbehind

  • split + filter + join