]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/perf/bench-allocate-retained.js
JavaScriptCore-7600.1.4.13.1.tar.gz
[apple/javascriptcore.git] / tests / perf / bench-allocate-retained.js
1 (function () {
2 var a = new Array(100000);
3 for (var i = 0; i < 100000; ++i)
4 a[i] = {};
5
6 for (var i = 0; i < 500; ++i) {
7 for (var j = 0; j < 100000; ++j)
8 var b = {};
9 }
10 })();