<html>
<body >
<script type="text/javascript">
(function foo() {
for(var i=0;i<5000;i+
+) {
var divA = document.createElement("div");
divA.innerHTML = "HELLO";
document.body.appendChild(divA);
})();
</script>
</body>
</html>
If I try to profile the above, there is not entry pertinent to "foo".
Can someone please help understand, why ? Are there ways (other
profilers/extensions) to make the above work ? Maybe these problems
have been hilited and discussed before. In that case, can someone
please point me to the resources to read ? Thanks.