Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Linux
Desktop
one year ago
Test name Executions per second
int comparison 2123912704.0 Ops/sec
string compare with locale 60571020.0 Ops/sec
string compare simple 1801178880.0 Ops/sec
special case 1764423040.0 Ops/sec
Tests:
  • int comparison

  • string compare with locale

  • string compare simple

  • special case


;