Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Chrome 92
Windows 7
Desktop
3 years ago
Test name Executions per second
int comparison 952552256.0 Ops/sec
string compare with locale 2370213.5 Ops/sec
string compare simple 949909696.0 Ops/sec
special case 953924224.0 Ops/sec
Tests:
  • int comparison

  • string compare with locale

  • string compare simple

  • special case


;