Skip to content

Commit

Permalink
Added note about memory. /cc @pflannery
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Mar 31, 2015
1 parent db41268 commit 017d457
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion es6/test/profile.js
Expand Up @@ -28,7 +28,10 @@ for ( let i = 0, n = 50000; i < n; ++i ) {
// Listen for complete
tasks.done(function () {
if ( mode === 'heap' ) {
util.saveSnapshot(testname)
// util.saveSnapshot(testname) // 121mb heap (due to itemsCompleted in GC)
setTimeout(function () {
util.saveSnapshot(testname) // 3mb heap
}, 1000)
}
else {
setTimeout(function () {
Expand Down

0 comments on commit 017d457

Please sign in to comment.