blob: 8afa653f6a471ff970dba46f869ed902e7bfad54 [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
var count = 0;
var format = new Intl.NumberFormat('en-AU-u-nu-fullwide', {
localeMatcher: 'best fit',
style: 'currency',
currency: 'AUD',
currencyDisplay: 'name',
useGrouping: 'false',
minimumIntegerDigits: 2,
minimumFractionDigits: 2,
maximumFractionDigits: 2
// The following options would override the above when formatting.
// minimumSignificantDigits: 3,
// maximumSignificantDigits: 21
});
PerfTestRunner.measureRunsPerSecond({run() {
format.format(count++);
}});
</script>
</body>