blob: b75f8711e43a4fe79ca594afaf16a17edc2b7c33 [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
var anchor = document.createElement("a");
PerfTestRunner.measureRunsPerSecond({
description: "Measures performance of URL parsing by setting the href attribute on an <a> tag to a simple URL.",
run: function() {
for (var x = 0; x < 200000; x++) {
anchor.href = "http://www.apple.com/"
}
}
});
</script>
</body>