Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
7 months ago
Test name Executions per second
a, b equality 7572996.0 Ops/sec
a, b locale compare 7456577.0 Ops/sec
a, c equality 7435774.5 Ops/sec
a, c locale compare 7082765.0 Ops/sec
d has a 7106078.0 Ops/sec
d has b 7166870.5 Ops/sec
d has c 7206558.5 Ops/sec
d has something not in d 12920867.0 Ops/sec
Script Preparation code:
Tests:
  • a, b equality

  • a, b locale compare

  • a, c equality

  • a, c locale compare

  • d has a

  • d has b

  • d has c

  • d has something not in d


;