Test case name | Result |
---|---|
Intl.Collator.compare (ASCII-only strings) | |
String.prototype.localeCompare (ASCII-only strings) | |
Intl.Collator.compare | |
String.prototype.localeCompare |
Test name | Executions per second |
---|---|
Intl.Collator.compare (ASCII-only strings) | 176.4 Ops/sec |
String.prototype.localeCompare (ASCII-only strings) | 436.3 Ops/sec |
Intl.Collator.compare | 133.8 Ops/sec |
String.prototype.localeCompare | 146.1 Ops/sec |