Script Preparation code:
Tests:
  • new RegExp()

  • Literal

  • Inline literal

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    new RegExp()
    Literal
    Inline literal

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111 on Windows
View result in a separate tab
Test name Executions per second
new RegExp() 14231774.0 Ops/sec
Literal 14631211.0 Ops/sec
Inline literal 13742385.0 Ops/sec