]> git.saurik.com Git - apple/javascriptcore.git/blame - tests/perf/bench-allocate-retained.js
JavaScriptCore-1097.13.tar.gz
[apple/javascriptcore.git] / tests / perf / bench-allocate-retained.js
CommitLineData
4e4e5a6f
A
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})();