diff options
Diffstat (limited to 'devtools/client/memory/test/browser/doc_steady_allocation.html')
-rw-r--r-- | devtools/client/memory/test/browser/doc_steady_allocation.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devtools/client/memory/test/browser/doc_steady_allocation.html b/devtools/client/memory/test/browser/doc_steady_allocation.html new file mode 100644 index 000000000..65703c878 --- /dev/null +++ b/devtools/client/memory/test/browser/doc_steady_allocation.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <body> + <script> + var objects = window.objects = []; + + var allocate = this.allocate = function allocate() { + for (var i = 0; i < 100; i++) + objects.push({}); + setTimeout(allocate, 10); + } + + allocate(); + </script> + </body> +</html> |