Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115
Linux
Desktop
9 months ago
Test name Executions per second
regex replace normalize 10.0 Ops/sec
endsWith slice normalize 259.1 Ops/sec
slice slice normalize 332.0 Ops/sec
lastIndexOf slice normalize 128.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex replace normalize

  • endsWith slice normalize

  • slice slice normalize

  • lastIndexOf slice normalize