Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Linux
Desktop
4 months ago
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
HTML Preparation code:
Script Preparation code:
Tests:
  • regex replace normalize

  • endsWith slice normalize

  • slice slice normalize

  • lastIndexOf slice normalize