Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Meowww
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 26_5_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/150.0.4078.81 Version/26.0 Mobile/15E148 Safari/604.1
Browser:
Mobile Safari 26
Operating system:
iOS 26.5.2
Device Platform:
Mobile
Date tested:
12 days ago
localeCompare
1K/s
Intl
841/s
View exact numbers
Test name
Executions per second
✓
localeCompare
1,134 Ops/sec
Intl
841 Ops/sec
Script Preparation code:
const minCodePoint = 'a'.charCodeAt(0); const maxCodePoint = 'z'.charCodeAt(0); const randomLetter = () => String.fromCharCode(Math.floor(Math.random() * (maxCodePoint - minCodePoint) + minCodePoint)); const createWord = () => Array.from({length: 15}, randomLetter).join(''); var words = Array.from({length: 50000}, createWord); var collator = new Intl.Collator();
Tests:
Intl
words.sort(collator.compare);
localeCompare
words.sort((a, b) => a.localeCompare(b))