Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Firefox 64
Windows
Desktop
6 years ago
Test name Executions per second
exec() clean 14717838.0 Ops/sec
exec() fair using substring 11685449.0 Ops/sec
search() and test() using substring 8864582.0 Ops/sec
search() and test() using substr 9224272.0 Ops/sec
search() and test() using slice 9110848.0 Ops/sec
Script Preparation code:
Tests:
  • exec() clean

  • exec() fair using substring

  • search() and test() using substring

  • search() and test() using substr

  • search() and test() using slice


;