1<!DOCTYPE html> 2<body> 3<script src="../resources/runner.js"></script> 4<script> 5PerfTestRunner.measureTime({run: function() { 6 (function() { 7 var root = document.createElement("div"); 8 for (var i = 0; i < 1000000; i++) 9 root.appendChild(document.createElement("div")); 10 })(); 11 PerfTestRunner.gc(); 12}}); 13</script> 14</body> 15