<!DOCTYPE html> | |
<body> | |
<script src="../resources/runner.js"></script> | |
<script> | |
var count = 0; | |
var format = new Intl.DateTimeFormat(); | |
var DAY_IN_MS = 24 * 60 * 60 * 1000; | |
PerfTestRunner.measureRunsPerSecond({run() { | |
format.format(count++ * DAY_IN_MS); | |
}}); | |
</script> | |
</body> |