Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Windows
Desktop
11 months ago
Test name Executions per second
toLowerCase() 7654464.0 Ops/sec
localeCompare() undef Culture 158225.2 Ops/sec
toLowerCase() FAIL 7100892.5 Ops/sec
localeCompare() FAIL 161184.5 Ops/sec
toUpperCase 6972525.5 Ops/sec
toUpperCase FAIL 6859572.0 Ops/sec
Collator compare 3446555.8 Ops/sec
Collator compare: Fail 3964102.2 Ops/sec
Script Preparation code:
Tests:
  • toLowerCase()

  • localeCompare() undef Culture

  • toLowerCase() FAIL

  • localeCompare() FAIL

  • toUpperCase

  • toUpperCase FAIL

  • Collator compare

  • Collator compare: Fail


;