Run details:
Mozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/114.0.5735.124 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 114
iOS 17.0
Tablet
one year ago
Test name Executions per second
new RegExp() 10868163.0 Ops/sec
Literal 11337377.0 Ops/sec
Script Preparation code:
Tests:
  • new RegExp()

  • Literal