Script Preparation code:
Tests:
  • new RegExp()

  • Literal

  • new RegExp(Literal)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131 on Linux
View result in a separate tab
Test name Executions per second
new RegExp() 10878596.0 Ops/sec
Literal 11088516.0 Ops/sec
new RegExp(Literal) 8057728.0 Ops/sec


;