Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101
Linux
Desktop
2 years ago
Test name Executions per second
regex replace normalize 74.6 Ops/sec
endsWith slice normalize 109.3 Ops/sec
slice slice normalize 168.9 Ops/sec
lastIndexOf slice normalize 114.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • regex replace normalize

  • endsWith slice normalize

  • slice slice normalize

  • lastIndexOf slice normalize