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) | 43.0 Ops/sec |
String.prototype.localeCompare (ASCII-only strings) | 36.5 Ops/sec |
Intl.Collator.compare | 28.5 Ops/sec |
String.prototype.localeCompare | 18.0 Ops/sec |