Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Chrome 78
Windows 7
Desktop
5 years ago
Test name Executions per second
parseUri 121554.5 Ops/sec
url_domain 133129.6 Ops/sec
simple_domain 1268636.0 Ops/sec
url_class_hostname 258829.3 Ops/sec
url_class_hostname2 361934.0 Ops/sec
Script Preparation code:
Tests:
  • parseUri

  • url_domain

  • simple_domain

  • url_class_hostname

  • url_class_hostname2