fune/devtools/client/memory/test/browser/doc_steady_allocation.html
2016-12-21 15:21:24 +01:00

18 lines
340 B
HTML

<!DOCTYPE html>
<html>
<body>
<script>
"use strict";
var objects = window.objects = [];
var allocate = this.allocate = function allocate() {
for (let i = 0; i < 100; i++) {
objects.push({});
}
setTimeout(allocate, 10);
};
allocate();
</script>
</body>
</html>