Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Windows
Desktop
2 years ago
Test name Executions per second
LowerCase compare a&b 8176681.5 Ops/sec
Collator compare 3301654.8 Ops/sec
UpperCase compare 7484132.0 Ops/sec
Sensitive compare 9348849.0 Ops/sec
Lower a & c 8079426.0 Ops/sec
Lower a & d 8091027.5 Ops/sec
Script Preparation code:
Tests:
  • LowerCase compare a&b

  • Collator compare

  • UpperCase compare

  • Sensitive compare

  • Lower a & c

  • Lower a & d


;