blob: 34d2580bb7b5cca656bf4736b18a24afeffc9fe0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
PerfTestRunner.measureRunsPerSecond({
description: "This benchmark covers 'createElement', 'createTextNode' and 'cloneNode' in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.",
run: function() {
for (var i = 0; i < 5000; i++)
document.createElement("div");
}});
</script>
</body>
</html>