<!DOCTYPE html> | |
<body> | |
<script src="../resources/runner.js"></script> | |
<script> | |
var anchor = document.createElement("a"); | |
PerfTestRunner.measureRunsPerSecond({run:function() { | |
for (var x = 0; x < 200000; x++) { | |
anchor.href = "http://www.apple.com/" | |
} | |
}}); | |
</script> | |
</body> |