Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Windows
Desktop
4 months ago
Test name Executions per second
a, b equality 15968287.0 Ops/sec
a, b locale compare 15832560.0 Ops/sec
a, c equality 15952454.0 Ops/sec
a, c locale compare 15292805.0 Ops/sec
d has a 15293982.0 Ops/sec
d has b 15454039.0 Ops/sec
d has c 15493578.0 Ops/sec
d has something not in d 30871632.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


;