Script Preparation code:
Tests:
  • original

  • ES5 replace match map

  • match without replace

  • iteration with replace

  • looping with exec

  • non regex

  • bluetooth-le

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    original
    ES5 replace match map
    match without replace
    iteration with replace
    looping with exec
    non regex
    bluetooth-le

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 15_8_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
Mobile Safari 15 on iOS 15.8.3
View result in a separate tab
Test name Executions per second
original 747.4 Ops/sec
ES5 replace match map 340.2 Ops/sec
match without replace 729.1 Ops/sec
iteration with replace 395.6 Ops/sec
looping with exec 608.7 Ops/sec
non regex 3582.6 Ops/sec
bluetooth-le 389.8 Ops/sec