Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Linux
Desktop
9 months ago
Test name Executions per second
regex replace normalize 31.2 Ops/sec
endsWith slice normalize 3672.0 Ops/sec
slice slice normalize 2082.7 Ops/sec
lastIndexOf slice normalize 458.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex replace normalize

  • endsWith slice normalize

  • slice slice normalize

  • lastIndexOf slice normalize