Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36
Chrome 60
Windows
Desktop
6 years ago
Test name Executions per second
localeCompare 1 140233.7 Ops/sec
triple equals 1 76824.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • localeCompare 1

  • triple equals 1