Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Ubuntu
Desktop
2 years ago
Test name Executions per second
const constructed regex 7882647.5 Ops/sec
const literal regex 7967004.5 Ops/sec
inline literal regex 7780450.0 Ops/sec
inline contructed regex 2437369.2 Ops/sec
Script Preparation code:
Tests:
  • const constructed regex

  • const literal regex

  • inline literal regex

  • inline contructed regex


;