HTML Preparation code:
Script Preparation code:
Tests:
  • regex replace normalize

  • endsWith slice normalize

  • slice slice normalize

  • lastIndexOf slice normalize

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    regex replace normalize
    endsWith slice normalize
    slice slice normalize
    lastIndexOf slice normalize

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125 on Linux
View result in a separate tab
Test name Executions per second
regex replace normalize 75.7 Ops/sec
endsWith slice normalize 109.7 Ops/sec
slice slice normalize 96.4 Ops/sec
lastIndexOf slice normalize 65.6 Ops/sec