blob: f1b270dcf775fd6ed395cc1c106a395db49099e5 [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
var count = 0;
var collator = new Intl.Collator();
var array = [];
for (var i = 0; i < 100; i++) {
array[i] = i.toString(36).repeat(i)
}
PerfTestRunner.measureRunsPerSecond({run() {
array.slice().sort(collator.compare);
count++;
}});
</script>
</body>