1 line
81 KiB
JSON
1 line
81 KiB
JSON
{"id":"node_modules/leakage/lib/testConstantHeapSize.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/package.json","includedInParent":true,"mtime":1542067438335},{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/leakage/package.json","includedInParent":true,"mtime":1542058764034},{"name":"es6-error","loc":{"line":1,"column":32},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/leakage/lib/testConstantHeapSize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/es6-error/es6/index.js"},{"name":"left-pad","loc":{"line":2,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/leakage/lib/testConstantHeapSize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/left-pad/index.js"},{"name":"pretty-bytes","loc":{"line":3,"column":28},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/leakage/lib/testConstantHeapSize.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/pretty-bytes/index.js"}],"generated":{"js":"function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function (obj) { return typeof obj; }; } else { _typeof = function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nvar ExtendableError = require('es6-error');\n\nvar leftPad = require('left-pad');\n\nvar prettyBytes = require('pretty-bytes');\n\nvar MemoryLeakError =\n/*#__PURE__*/\nfunction (_ExtendableError) {\n _inherits(MemoryLeakError, _ExtendableError);\n\n function MemoryLeakError() {\n _classCallCheck(this, MemoryLeakError);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(MemoryLeakError).apply(this, arguments));\n }\n\n return MemoryLeakError;\n}(ExtendableError);\n\nmodule.exports = {\n MemoryLeakError: MemoryLeakError,\n testConstantHeapSize: testConstantHeapSize\n};\n\nfunction testConstantHeapSize(heapDiffs, _ref) {\n var {\n iterations: iterations,\n gcollections: gcollections,\n sensitivity = 1024\n } = _ref;\n var subsequentHeapGrowths = getSubsequentHeapGrowths(heapDiffs, sensitivity);\n var throwOnSubsequentHeapGrowths = Math.floor(heapDiffs.length * 2 / 3);\n\n if (subsequentHeapGrowths.length > throwOnSubsequentHeapGrowths) {\n var lastHeapDiff = subsequentHeapGrowths[subsequentHeapGrowths.length - 1];\n var heapGrowthIterations = Math.round(subsequentHeapGrowths.length * iterations);\n var growthInBytes = subsequentHeapGrowths.map(function (heapDiff) {\n return heapDiff.change.size_bytes;\n }).reduce(function (total, heapGrowth) {\n return total + heapGrowth;\n }, 0);\n return new MemoryLeakError(\"Heap grew on \".concat(subsequentHeapGrowths.length, \" subsequent garbage collections \") + \"(\".concat(formatInteger(heapGrowthIterations), \" of \").concat(iterations * gcollections, \" iterations) \") + \"by \".concat(prettyBytes(growthInBytes), \".\\n\\n\") + \" Iterations between GCs: \".concat(formatInteger(iterations), \"\\n\\n\") + \" Final GC details:\\n\" + \" \".concat(prettyHeapContents(lastHeapDiff).trimLeft(), \"\\n\"));\n } else {\n return null;\n }\n}\n\nfunction getSubsequentHeapGrowths(heapDiffs, sensitivity) {\n var growthSeriesSets = [];\n var subsequentGrowths = [];\n heapDiffs.forEach(function (heapDiff) {\n if (heapDiff.change.size_bytes > sensitivity) {\n subsequentGrowths.push(heapDiff);\n } else {\n if (subsequentGrowths.length > 0) {\n growthSeriesSets.push(subsequentGrowths);\n }\n\n subsequentGrowths = [];\n }\n });\n\n if (subsequentGrowths.length > 0) {\n growthSeriesSets.push(subsequentGrowths);\n }\n\n return getLongestItem(growthSeriesSets, []);\n}\n\nfunction getLongestItem(array, defaultValue) {\n return array.reduce(function (longestItem, currentItem) {\n return currentItem.length > longestItem.length ? currentItem : longestItem;\n }, defaultValue);\n}\n\nfunction prettyHeapContents(lastHeapDiff) {\n var byGrowth = function (a, b) {\n return a.size_bytes < b.size_bytes ? 1 : -1;\n };\n\n var formatHeapContent = function (item) {\n return \"[\".concat(leftPad(prettyBytes(item.size_bytes), 10), \"] [+ \").concat(leftPad(item['+'], 3), \"x] [- \").concat(leftPad(item['-'], 3), \"x] \").concat(item.what);\n };\n\n var sortedDetails = [].concat(lastHeapDiff.change.details).sort(byGrowth);\n var formattedHeapContents = sortedDetails.map(function (heapContentItem) {\n return formatHeapContent(heapContentItem);\n });\n var heapContentLines = formattedHeapContents.length > 4 ? formattedHeapContents.slice(0, 4).concat(\"... (\".concat(formattedHeapContents.length - 4, \" more)\")) : formattedHeapContents;\n return heapContentLines.map(function (line) {\n return \" \".concat(line);\n }).join('\\n');\n}\n\nfunction formatInteger(value) {\n return Math.round(value) !== value ? '~' + Math.round(value) : value;\n}","map":{"mappings":[{"generated":{"line":15,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":0}},{"name":"ExtendableError","generated":{"line":15,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":6}},{"generated":{"line":15,"column":19},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":21}},{"name":"require","generated":{"line":15,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":24}},{"generated":{"line":15,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":31}},{"generated":{"line":15,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":32}},{"generated":{"line":15,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":31}},{"generated":{"line":15,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":1,"column":0}},{"generated":{"line":17,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":0}},{"name":"leftPad","generated":{"line":17,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":6}},{"generated":{"line":17,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":13}},{"name":"require","generated":{"line":17,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":16}},{"generated":{"line":17,"column":21},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":23}},{"generated":{"line":17,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":24}},{"generated":{"line":17,"column":32},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":23}},{"generated":{"line":17,"column":33},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":2,"column":0}},{"generated":{"line":19,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":0}},{"name":"prettyBytes","generated":{"line":19,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":6}},{"generated":{"line":19,"column":15},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":17}},{"name":"require","generated":{"line":19,"column":18},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":20}},{"generated":{"line":19,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":27}},{"generated":{"line":19,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":28}},{"generated":{"line":19,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":27}},{"generated":{"line":19,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":3,"column":0}},{"name":"MemoryLeakError","generated":{"line":21,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":5,"column":6}},{"name":"ExtendableError","generated":{"line":33,"column":2},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":5,"column":30}},{"name":"module","generated":{"line":35,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":0}},{"generated":{"line":35,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":6}},{"name":"exports","generated":{"line":35,"column":7},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":7}},{"generated":{"line":35,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":0}},{"generated":{"line":35,"column":17},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":17}},{"name":"MemoryLeakError","generated":{"line":36,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":8,"column":2}},{"name":"MemoryLeakError","generated":{"line":36,"column":2},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":8,"column":2}},{"generated":{"line":36,"column":17},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":8,"column":17}},{"name":"MemoryLeakError","generated":{"line":36,"column":19},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":8,"column":2}},{"generated":{"line":36,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":17}},{"name":"testConstantHeapSize","generated":{"line":37,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":9,"column":2}},{"name":"testConstantHeapSize","generated":{"line":37,"column":2},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":9,"column":2}},{"generated":{"line":37,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":9,"column":22}},{"name":"testConstantHeapSize","generated":{"line":37,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":9,"column":2}},{"generated":{"line":38,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":17}},{"generated":{"line":38,"column":1},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":7,"column":0}},{"generated":{"line":40,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":0}},{"name":"testConstantHeapSize","generated":{"line":40,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":9}},{"generated":{"line":40,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":0}},{"name":"heapDiffs","generated":{"line":40,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":31}},{"generated":{"line":40,"column":39},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":0}},{"generated":{"line":40,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":92}},{"generated":{"line":41,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":92}},{"generated":{"line":41,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":42}},{"name":"iterations","generated":{"line":42,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":44}},{"name":"iterations","generated":{"line":42,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":44}},{"generated":{"line":42,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":54}},{"name":"iterations","generated":{"line":42,"column":16},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":44}},{"generated":{"line":42,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":42}},{"name":"gcollections","generated":{"line":43,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":56}},{"name":"gcollections","generated":{"line":43,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":56}},{"generated":{"line":43,"column":16},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":68}},{"name":"gcollections","generated":{"line":43,"column":18},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":56}},{"generated":{"line":43,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":42}},{"name":"sensitivity","generated":{"line":44,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":70}},{"name":"sensitivity","generated":{"line":44,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":70}},{"generated":{"line":44,"column":15},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":81}},{"generated":{"line":44,"column":18},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":84}},{"generated":{"line":45,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":42}},{"generated":{"line":45,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":12,"column":92}},{"generated":{"line":46,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":2}},{"name":"subsequentHeapGrowths","generated":{"line":46,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":8}},{"generated":{"line":46,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":29}},{"name":"getSubsequentHeapGrowths","generated":{"line":46,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":32}},{"generated":{"line":46,"column":54},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":56}},{"name":"heapDiffs","generated":{"line":46,"column":55},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":57}},{"generated":{"line":46,"column":64},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":56}},{"name":"sensitivity","generated":{"line":46,"column":66},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":68}},{"generated":{"line":46,"column":77},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":56}},{"generated":{"line":46,"column":78},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":13,"column":2}},{"generated":{"line":47,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":2}},{"name":"throwOnSubsequentHeapGrowths","generated":{"line":47,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":8}},{"generated":{"line":47,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":36}},{"name":"Math","generated":{"line":47,"column":37},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":39}},{"generated":{"line":47,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":43}},{"name":"floor","generated":{"line":47,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":44}},{"generated":{"line":47,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":39}},{"name":"heapDiffs","generated":{"line":47,"column":48},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":50}},{"generated":{"line":47,"column":57},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":59}},{"name":"length","generated":{"line":47,"column":58},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":60}},{"generated":{"line":47,"column":64},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":50}},{"generated":{"line":47,"column":67},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":69}},{"generated":{"line":47,"column":68},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":50}},{"generated":{"line":47,"column":71},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":73}},{"generated":{"line":47,"column":72},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":39}},{"generated":{"line":47,"column":73},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":14,"column":2}},{"generated":{"line":49,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":2}},{"name":"subsequentHeapGrowths","generated":{"line":49,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":6}},{"generated":{"line":49,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":27}},{"name":"length","generated":{"line":49,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":28}},{"generated":{"line":49,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":6}},{"name":"throwOnSubsequentHeapGrowths","generated":{"line":49,"column":37},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":37}},{"generated":{"line":49,"column":65},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":2}},{"generated":{"line":49,"column":67},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":67}},{"generated":{"line":50,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":4}},{"name":"lastHeapDiff","generated":{"line":50,"column":8},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":10}},{"generated":{"line":50,"column":20},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":22}},{"name":"subsequentHeapGrowths","generated":{"line":50,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":25}},{"generated":{"line":50,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":46}},{"name":"subsequentHeapGrowths","generated":{"line":50,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":48}},{"generated":{"line":50,"column":66},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":69}},{"name":"length","generated":{"line":50,"column":67},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":70}},{"generated":{"line":50,"column":73},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":48}},{"generated":{"line":50,"column":76},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":79}},{"generated":{"line":50,"column":77},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":46}},{"generated":{"line":50,"column":78},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":17,"column":4}},{"generated":{"line":51,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":4}},{"name":"heapGrowthIterations","generated":{"line":51,"column":8},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":10}},{"generated":{"line":51,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":30}},{"name":"Math","generated":{"line":51,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":33}},{"generated":{"line":51,"column":35},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":37}},{"name":"round","generated":{"line":51,"column":36},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":38}},{"generated":{"line":51,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":33}},{"name":"subsequentHeapGrowths","generated":{"line":51,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":44}},{"generated":{"line":51,"column":63},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":65}},{"name":"length","generated":{"line":51,"column":64},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":66}},{"generated":{"line":51,"column":70},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":44}},{"name":"iterations","generated":{"line":51,"column":73},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":75}},{"generated":{"line":51,"column":83},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":33}},{"generated":{"line":51,"column":84},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":18,"column":4}},{"generated":{"line":52,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":4}},{"name":"growthInBytes","generated":{"line":52,"column":8},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":10}},{"generated":{"line":52,"column":21},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":23}},{"name":"subsequentHeapGrowths","generated":{"line":52,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":26}},{"generated":{"line":52,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":47}},{"name":"map","generated":{"line":52,"column":46},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":7}},{"generated":{"line":52,"column":49},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":26}},{"generated":{"line":52,"column":50},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":11}},{"name":"heapDiff","generated":{"line":52,"column":60},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":11}},{"generated":{"line":52,"column":68},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":19}},{"generated":{"line":53,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":19}},{"name":"heapDiff","generated":{"line":53,"column":13},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":23}},{"generated":{"line":53,"column":21},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":31}},{"name":"change","generated":{"line":53,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":32}},{"generated":{"line":53,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":23}},{"name":"size_bytes","generated":{"line":53,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":39}},{"generated":{"line":53,"column":39},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":19}},{"generated":{"line":54,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":21,"column":19}},{"generated":{"line":54,"column":5},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":26}},{"name":"reduce","generated":{"line":54,"column":7},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":7}},{"generated":{"line":54,"column":13},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":26}},{"generated":{"line":54,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":14}},{"name":"total","generated":{"line":54,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":15}},{"generated":{"line":54,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":14}},{"name":"heapGrowth","generated":{"line":54,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":22}},{"generated":{"line":54,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":14}},{"generated":{"line":55,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":14}},{"name":"total","generated":{"line":55,"column":13},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":38}},{"generated":{"line":55,"column":18},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":43}},{"name":"heapGrowth","generated":{"line":55,"column":21},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":46}},{"generated":{"line":55,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":14}},{"generated":{"line":56,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":14}},{"generated":{"line":56,"column":5},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":26}},{"generated":{"line":56,"column":7},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":22,"column":59}},{"generated":{"line":56,"column":8},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":26}},{"generated":{"line":56,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":20,"column":4}},{"generated":{"line":57,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":24,"column":4}},{"generated":{"line":57,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":24,"column":11}},{"name":"MemoryLeakError","generated":{"line":57,"column":15},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":24,"column":15}},{"generated":{"line":57,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":24,"column":11}},{"generated":{"line":57,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"name":"subsequentHeapGrowths","generated":{"line":57,"column":54},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":22}},{"generated":{"line":57,"column":75},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":43}},{"name":"length","generated":{"line":57,"column":76},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":44}},{"generated":{"line":57,"column":82},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"name":"formatInteger","generated":{"line":57,"column":133},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":10}},{"generated":{"line":57,"column":146},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":23}},{"name":"heapGrowthIterations","generated":{"line":57,"column":147},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":24}},{"generated":{"line":57,"column":167},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":23}},{"generated":{"line":57,"column":168},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"name":"iterations","generated":{"line":57,"column":185},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":52}},{"generated":{"line":57,"column":195},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":62}},{"name":"gcollections","generated":{"line":57,"column":198},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":26,"column":65}},{"generated":{"line":57,"column":210},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"name":"prettyBytes","generated":{"line":57,"column":244},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":27,"column":12}},{"generated":{"line":57,"column":255},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":27,"column":23}},{"name":"growthInBytes","generated":{"line":57,"column":256},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":27,"column":24}},{"generated":{"line":57,"column":269},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":27,"column":23}},{"generated":{"line":57,"column":270},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"name":"formatInteger","generated":{"line":57,"column":319},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":28,"column":35}},{"generated":{"line":57,"column":332},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":28,"column":48}},{"name":"iterations","generated":{"line":57,"column":333},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":28,"column":49}},{"generated":{"line":57,"column":343},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":28,"column":48}},{"generated":{"line":57,"column":344},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"name":"prettyHeapContents","generated":{"line":57,"column":394},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":11}},{"generated":{"line":57,"column":412},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":29}},{"name":"lastHeapDiff","generated":{"line":57,"column":413},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":30}},{"generated":{"line":57,"column":425},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":29}},{"generated":{"line":57,"column":426},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":11}},{"name":"trimLeft","generated":{"line":57,"column":427},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":44}},{"generated":{"line":57,"column":435},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":30,"column":11}},{"generated":{"line":57,"column":437},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":25,"column":6}},{"generated":{"line":57,"column":444},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":24,"column":11}},{"generated":{"line":57,"column":445},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":24,"column":4}},{"generated":{"line":58,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":32,"column":3}},{"generated":{"line":58,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":16,"column":2}},{"generated":{"line":58,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":32,"column":9}},{"generated":{"line":59,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":33,"column":4}},{"generated":{"line":59,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":33,"column":11}},{"generated":{"line":59,"column":15},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":33,"column":4}},{"generated":{"line":60,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":34,"column":3}},{"generated":{"line":61,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":35,"column":1}},{"generated":{"line":63,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":0}},{"name":"getSubsequentHeapGrowths","generated":{"line":63,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":9}},{"generated":{"line":63,"column":33},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":0}},{"name":"heapDiffs","generated":{"line":63,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":35}},{"generated":{"line":63,"column":43},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":0}},{"name":"sensitivity","generated":{"line":63,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":46}},{"generated":{"line":63,"column":56},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":0}},{"generated":{"line":63,"column":58},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":37,"column":59}},{"generated":{"line":64,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":38,"column":2}},{"name":"growthSeriesSets","generated":{"line":64,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":38,"column":8}},{"generated":{"line":64,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":38,"column":24}},{"generated":{"line":64,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":38,"column":27}},{"generated":{"line":64,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":38,"column":2}},{"generated":{"line":65,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":39,"column":2}},{"name":"subsequentGrowths","generated":{"line":65,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":39,"column":6}},{"generated":{"line":65,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":39,"column":23}},{"generated":{"line":65,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":39,"column":26}},{"generated":{"line":65,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":39,"column":2}},{"name":"heapDiffs","generated":{"line":66,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":2}},{"name":"heapDiffs","generated":{"line":66,"column":2},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":2}},{"generated":{"line":66,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":11}},{"name":"forEach","generated":{"line":66,"column":12},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":12}},{"generated":{"line":66,"column":19},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":2}},{"generated":{"line":66,"column":20},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":20}},{"name":"heapDiff","generated":{"line":66,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":20}},{"generated":{"line":66,"column":38},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":28}},{"generated":{"line":66,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":32}},{"generated":{"line":67,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":4}},{"name":"heapDiff","generated":{"line":67,"column":8},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":8}},{"generated":{"line":67,"column":16},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":16}},{"name":"change","generated":{"line":67,"column":17},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":17}},{"generated":{"line":67,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":8}},{"name":"size_bytes","generated":{"line":67,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":24}},{"generated":{"line":67,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":8}},{"name":"sensitivity","generated":{"line":67,"column":37},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":37}},{"generated":{"line":67,"column":48},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":4}},{"generated":{"line":67,"column":50},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":50}},{"name":"subsequentGrowths","generated":{"line":68,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":6}},{"name":"subsequentGrowths","generated":{"line":68,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":6}},{"generated":{"line":68,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":23}},{"name":"push","generated":{"line":68,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":24}},{"generated":{"line":68,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":6}},{"name":"heapDiff","generated":{"line":68,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":29}},{"generated":{"line":68,"column":37},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":43,"column":6}},{"generated":{"line":69,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":44,"column":5}},{"generated":{"line":69,"column":5},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":42,"column":4}},{"generated":{"line":69,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":44,"column":11}},{"generated":{"line":70,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":6}},{"name":"subsequentGrowths","generated":{"line":70,"column":10},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":10}},{"generated":{"line":70,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":27}},{"name":"length","generated":{"line":70,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":28}},{"generated":{"line":70,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":10}},{"generated":{"line":70,"column":37},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":37}},{"generated":{"line":70,"column":38},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":6}},{"generated":{"line":70,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":45,"column":40}},{"name":"growthSeriesSets","generated":{"line":71,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":8}},{"name":"growthSeriesSets","generated":{"line":71,"column":8},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":8}},{"generated":{"line":71,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":24}},{"name":"push","generated":{"line":71,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":25}},{"generated":{"line":71,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":8}},{"name":"subsequentGrowths","generated":{"line":71,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":30}},{"generated":{"line":71,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":46,"column":8}},{"generated":{"line":72,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":47,"column":7}},{"name":"subsequentGrowths","generated":{"line":74,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":48,"column":6}},{"name":"subsequentGrowths","generated":{"line":74,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":48,"column":6}},{"generated":{"line":74,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":48,"column":23}},{"generated":{"line":74,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":48,"column":26}},{"generated":{"line":74,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":48,"column":6}},{"generated":{"line":75,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":49,"column":5}},{"generated":{"line":76,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":50,"column":3}},{"generated":{"line":76,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":41,"column":2}},{"generated":{"line":78,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":2}},{"name":"subsequentGrowths","generated":{"line":78,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":6}},{"generated":{"line":78,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":23}},{"name":"length","generated":{"line":78,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":24}},{"generated":{"line":78,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":6}},{"generated":{"line":78,"column":33},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":33}},{"generated":{"line":78,"column":34},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":2}},{"generated":{"line":78,"column":36},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":52,"column":36}},{"name":"growthSeriesSets","generated":{"line":79,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":4}},{"name":"growthSeriesSets","generated":{"line":79,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":4}},{"generated":{"line":79,"column":20},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":20}},{"name":"push","generated":{"line":79,"column":21},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":21}},{"generated":{"line":79,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":4}},{"name":"subsequentGrowths","generated":{"line":79,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":26}},{"generated":{"line":79,"column":43},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":53,"column":4}},{"generated":{"line":80,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":54,"column":3}},{"generated":{"line":82,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":2}},{"name":"getLongestItem","generated":{"line":82,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":9}},{"generated":{"line":82,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":23}},{"name":"growthSeriesSets","generated":{"line":82,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":24}},{"generated":{"line":82,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":23}},{"generated":{"line":82,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":42}},{"generated":{"line":82,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":23}},{"generated":{"line":82,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":56,"column":2}},{"generated":{"line":83,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":57,"column":1}},{"generated":{"line":85,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":0}},{"name":"getLongestItem","generated":{"line":85,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":9}},{"generated":{"line":85,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":0}},{"name":"array","generated":{"line":85,"column":24},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":25}},{"generated":{"line":85,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":0}},{"name":"defaultValue","generated":{"line":85,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":32}},{"generated":{"line":85,"column":43},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":0}},{"generated":{"line":85,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":59,"column":46}},{"generated":{"line":86,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":2}},{"name":"array","generated":{"line":86,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":9}},{"generated":{"line":86,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":14}},{"name":"reduce","generated":{"line":86,"column":15},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":15}},{"generated":{"line":86,"column":21},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":9}},{"generated":{"line":86,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":22}},{"name":"longestItem","generated":{"line":86,"column":32},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":23}},{"generated":{"line":86,"column":43},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":22}},{"name":"currentItem","generated":{"line":86,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":36}},{"generated":{"line":86,"column":56},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":22}},{"generated":{"line":87,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":22}},{"name":"currentItem","generated":{"line":87,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":4}},{"generated":{"line":87,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":15}},{"name":"length","generated":{"line":87,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":16}},{"generated":{"line":87,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":4}},{"name":"longestItem","generated":{"line":87,"column":32},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":25}},{"generated":{"line":87,"column":43},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":36}},{"name":"length","generated":{"line":87,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":37}},{"generated":{"line":87,"column":50},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":4}},{"name":"currentItem","generated":{"line":87,"column":53},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":46}},{"generated":{"line":87,"column":64},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":4}},{"name":"longestItem","generated":{"line":87,"column":67},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":61,"column":60}},{"generated":{"line":87,"column":78},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":22}},{"generated":{"line":88,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":22}},{"generated":{"line":88,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":9}},{"name":"defaultValue","generated":{"line":88,"column":5},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":62,"column":5}},{"generated":{"line":88,"column":17},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":9}},{"generated":{"line":88,"column":18},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":60,"column":2}},{"generated":{"line":89,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":63,"column":1}},{"generated":{"line":91,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":65,"column":0}},{"name":"prettyHeapContents","generated":{"line":91,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":65,"column":9}},{"generated":{"line":91,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":65,"column":0}},{"name":"lastHeapDiff","generated":{"line":91,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":65,"column":29}},{"generated":{"line":91,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":65,"column":0}},{"generated":{"line":91,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":65,"column":43}},{"generated":{"line":92,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":2}},{"name":"byGrowth","generated":{"line":92,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":8}},{"generated":{"line":92,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":16}},{"generated":{"line":92,"column":17},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":19}},{"name":"a","generated":{"line":92,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":20}},{"generated":{"line":92,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":19}},{"name":"b","generated":{"line":92,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":23}},{"generated":{"line":92,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":19}},{"generated":{"line":93,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":19}},{"name":"a","generated":{"line":93,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":30}},{"generated":{"line":93,"column":12},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":31}},{"name":"size_bytes","generated":{"line":93,"column":13},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":32}},{"generated":{"line":93,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":30}},{"name":"b","generated":{"line":93,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":45}},{"generated":{"line":93,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":46}},{"name":"size_bytes","generated":{"line":93,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":47}},{"generated":{"line":93,"column":38},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":30}},{"generated":{"line":93,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":60}},{"generated":{"line":93,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":30}},{"generated":{"line":93,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":64}},{"generated":{"line":93,"column":46},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":65}},{"generated":{"line":93,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":19}},{"generated":{"line":94,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":19}},{"generated":{"line":94,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":66,"column":2}},{"generated":{"line":96,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":2}},{"name":"formatHeapContent","generated":{"line":96,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":8}},{"generated":{"line":96,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":25}},{"generated":{"line":96,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"name":"item","generated":{"line":96,"column":36},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":29}},{"generated":{"line":96,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"generated":{"line":97,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"name":"leftPad","generated":{"line":97,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":8}},{"generated":{"line":97,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":15}},{"name":"prettyBytes","generated":{"line":97,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":16}},{"generated":{"line":97,"column":41},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":27}},{"name":"item","generated":{"line":97,"column":42},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":28}},{"generated":{"line":97,"column":46},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":32}},{"name":"size_bytes","generated":{"line":97,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":33}},{"generated":{"line":97,"column":57},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":27}},{"generated":{"line":97,"column":58},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":15}},{"generated":{"line":97,"column":60},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":46}},{"generated":{"line":97,"column":62},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":15}},{"generated":{"line":97,"column":63},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"name":"leftPad","generated":{"line":97,"column":81},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":57}},{"generated":{"line":97,"column":88},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":64}},{"name":"item","generated":{"line":97,"column":89},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":65}},{"generated":{"line":97,"column":93},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":69}},{"generated":{"line":97,"column":94},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":70}},{"generated":{"line":97,"column":97},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":69}},{"generated":{"line":97,"column":98},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":64}},{"generated":{"line":97,"column":100},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":76}},{"generated":{"line":97,"column":101},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":64}},{"generated":{"line":97,"column":102},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"name":"leftPad","generated":{"line":97,"column":121},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":87}},{"generated":{"line":97,"column":128},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":94}},{"name":"item","generated":{"line":97,"column":129},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":95}},{"generated":{"line":97,"column":133},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":99}},{"generated":{"line":97,"column":134},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":100}},{"generated":{"line":97,"column":137},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":99}},{"generated":{"line":97,"column":138},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":94}},{"generated":{"line":97,"column":140},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":106}},{"generated":{"line":97,"column":141},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":94}},{"generated":{"line":97,"column":142},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"name":"item","generated":{"line":97,"column":158},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":114}},{"generated":{"line":97,"column":162},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":118}},{"name":"what","generated":{"line":97,"column":163},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":69,"column":119}},{"generated":{"line":97,"column":167},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"generated":{"line":98,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":28}},{"generated":{"line":98,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":68,"column":2}},{"generated":{"line":100,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":2}},{"name":"sortedDetails","generated":{"line":100,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":8}},{"generated":{"line":100,"column":19},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":21}},{"generated":{"line":100,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":24}},{"name":"concat","generated":{"line":100,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":27}},{"generated":{"line":100,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":24}},{"name":"lastHeapDiff","generated":{"line":100,"column":32},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":34}},{"generated":{"line":100,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":46}},{"name":"change","generated":{"line":100,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":47}},{"generated":{"line":100,"column":51},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":34}},{"name":"details","generated":{"line":100,"column":52},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":54}},{"generated":{"line":100,"column":59},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":24}},{"name":"sort","generated":{"line":100,"column":61},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":63}},{"generated":{"line":100,"column":65},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":24}},{"name":"byGrowth","generated":{"line":100,"column":66},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":68}},{"generated":{"line":100,"column":74},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":24}},{"generated":{"line":100,"column":75},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":72,"column":2}},{"generated":{"line":101,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":2}},{"name":"formattedHeapContents","generated":{"line":101,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":8}},{"generated":{"line":101,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":29}},{"name":"sortedDetails","generated":{"line":101,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":32}},{"generated":{"line":101,"column":43},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":45}},{"name":"map","generated":{"line":101,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":46}},{"generated":{"line":101,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":32}},{"generated":{"line":101,"column":48},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":50}},{"name":"heapContentItem","generated":{"line":101,"column":58},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":51}},{"generated":{"line":101,"column":73},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":50}},{"generated":{"line":102,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":50}},{"name":"formatHeapContent","generated":{"line":102,"column":11},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":71}},{"generated":{"line":102,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":88}},{"name":"heapContentItem","generated":{"line":102,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":89}},{"generated":{"line":102,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":88}},{"generated":{"line":102,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":50}},{"generated":{"line":103,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":50}},{"generated":{"line":103,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":32}},{"generated":{"line":103,"column":4},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":73,"column":2}},{"generated":{"line":104,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":2}},{"name":"heapContentLines","generated":{"line":104,"column":6},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":8}},{"generated":{"line":104,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":24}},{"name":"formattedHeapContents","generated":{"line":104,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":27}},{"generated":{"line":104,"column":46},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":48}},{"name":"length","generated":{"line":104,"column":47},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":49}},{"generated":{"line":104,"column":53},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":27}},{"generated":{"line":104,"column":56},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":58}},{"generated":{"line":104,"column":57},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":27}},{"name":"formattedHeapContents","generated":{"line":104,"column":60},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":6}},{"generated":{"line":104,"column":81},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":27}},{"name":"slice","generated":{"line":104,"column":82},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":28}},{"generated":{"line":104,"column":87},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":6}},{"generated":{"line":104,"column":88},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":34}},{"generated":{"line":104,"column":89},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":6}},{"generated":{"line":104,"column":91},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":37}},{"generated":{"line":104,"column":92},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":6}},{"name":"concat","generated":{"line":104,"column":94},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":40}},{"generated":{"line":104,"column":100},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":6}},{"name":"formattedHeapContents","generated":{"line":104,"column":116},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":55}},{"generated":{"line":104,"column":137},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":76}},{"name":"length","generated":{"line":104,"column":138},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":77}},{"generated":{"line":104,"column":144},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":55}},{"generated":{"line":104,"column":147},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":86}},{"generated":{"line":104,"column":148},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":76,"column":6}},{"generated":{"line":104,"column":160},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":27}},{"name":"formattedHeapContents","generated":{"line":104,"column":163},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":77,"column":6}},{"generated":{"line":104,"column":184},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":75,"column":2}},{"generated":{"line":105,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":2}},{"name":"heapContentLines","generated":{"line":105,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":9}},{"generated":{"line":105,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":25}},{"name":"map","generated":{"line":105,"column":26},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":5}},{"generated":{"line":105,"column":29},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":9}},{"generated":{"line":105,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":9}},{"name":"line","generated":{"line":105,"column":40},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":10}},{"generated":{"line":105,"column":44},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":9}},{"generated":{"line":106,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":9}},{"name":"line","generated":{"line":106,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":24}},{"generated":{"line":106,"column":27},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":9}},{"generated":{"line":107,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":80,"column":9}},{"generated":{"line":107,"column":3},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":9}},{"name":"join","generated":{"line":107,"column":5},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":81,"column":5}},{"generated":{"line":107,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":9}},{"generated":{"line":107,"column":10},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":81,"column":10}},{"generated":{"line":107,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":9}},{"generated":{"line":107,"column":15},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":79,"column":2}},{"generated":{"line":108,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":82,"column":1}},{"generated":{"line":110,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":84,"column":0}},{"name":"formatInteger","generated":{"line":110,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":84,"column":9}},{"generated":{"line":110,"column":22},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":84,"column":0}},{"name":"value","generated":{"line":110,"column":23},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":84,"column":24}},{"generated":{"line":110,"column":28},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":84,"column":0}},{"generated":{"line":110,"column":30},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":84,"column":31}},{"generated":{"line":111,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":2}},{"name":"Math","generated":{"line":111,"column":9},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":9}},{"generated":{"line":111,"column":13},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":13}},{"name":"round","generated":{"line":111,"column":14},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":14}},{"generated":{"line":111,"column":19},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":9}},{"name":"value","generated":{"line":111,"column":20},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":20}},{"generated":{"line":111,"column":25},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":9}},{"name":"value","generated":{"line":111,"column":31},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":31}},{"generated":{"line":111,"column":36},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":9}},{"generated":{"line":111,"column":39},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":39}},{"name":"Math","generated":{"line":111,"column":45},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":45}},{"generated":{"line":111,"column":49},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":49}},{"name":"round","generated":{"line":111,"column":50},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":50}},{"generated":{"line":111,"column":55},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":45}},{"name":"value","generated":{"line":111,"column":56},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":56}},{"generated":{"line":111,"column":61},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":45}},{"generated":{"line":111,"column":62},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":9}},{"name":"value","generated":{"line":111,"column":65},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":65}},{"generated":{"line":111,"column":70},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":85,"column":2}},{"generated":{"line":112,"column":0},"source":"node_modules/leakage/lib/testConstantHeapSize.js","original":{"line":86,"column":1}}],"sources":{"node_modules/leakage/lib/testConstantHeapSize.js":"const ExtendableError = require('es6-error')\nconst leftPad = require('left-pad')\nconst prettyBytes = require('pretty-bytes')\n\nclass MemoryLeakError extends ExtendableError { }\n\nmodule.exports = {\n MemoryLeakError,\n testConstantHeapSize\n}\n\nfunction testConstantHeapSize (heapDiffs, { iterations, gcollections, sensitivity = 1024 }) {\n const subsequentHeapGrowths = getSubsequentHeapGrowths(heapDiffs, sensitivity)\n const throwOnSubsequentHeapGrowths = Math.floor(heapDiffs.length * 2 / 3)\n\n if (subsequentHeapGrowths.length > throwOnSubsequentHeapGrowths) {\n const lastHeapDiff = subsequentHeapGrowths[ subsequentHeapGrowths.length - 1 ]\n const heapGrowthIterations = Math.round(subsequentHeapGrowths.length * iterations)\n\n const growthInBytes = subsequentHeapGrowths\n .map(heapDiff => heapDiff.change.size_bytes)\n .reduce((total, heapGrowth) => (total + heapGrowth), 0)\n\n return new MemoryLeakError(\n `Heap grew on ${subsequentHeapGrowths.length} subsequent garbage collections ` +\n `(${formatInteger(heapGrowthIterations)} of ${iterations * gcollections} iterations) ` +\n `by ${prettyBytes(growthInBytes)}.\\n\\n` +\n ` Iterations between GCs: ${formatInteger(iterations)}\\n\\n` +\n ` Final GC details:\\n` +\n ` ${prettyHeapContents(lastHeapDiff).trimLeft()}\\n`\n )\n } else {\n return null\n }\n}\n\nfunction getSubsequentHeapGrowths (heapDiffs, sensitivity) {\n const growthSeriesSets = []\n let subsequentGrowths = []\n\n heapDiffs.forEach(heapDiff => {\n if (heapDiff.change.size_bytes > sensitivity) {\n subsequentGrowths.push(heapDiff)\n } else {\n if (subsequentGrowths.length > 0) {\n growthSeriesSets.push(subsequentGrowths)\n }\n subsequentGrowths = []\n }\n })\n\n if (subsequentGrowths.length > 0) {\n growthSeriesSets.push(subsequentGrowths)\n }\n\n return getLongestItem(growthSeriesSets, [])\n}\n\nfunction getLongestItem (array, defaultValue) {\n return array.reduce((longestItem, currentItem) => (\n currentItem.length > longestItem.length ? currentItem : longestItem\n ), defaultValue)\n}\n\nfunction prettyHeapContents (lastHeapDiff) {\n const byGrowth = (a, b) => (a.size_bytes < b.size_bytes ? 1 : -1)\n\n const formatHeapContent = (item) => (\n `[${leftPad(prettyBytes(item.size_bytes), 10)}] [+ ${leftPad(item['+'], 3)}x] [- ${leftPad(item['-'], 3)}x] ${item.what}`\n )\n\n const sortedDetails = [].concat(lastHeapDiff.change.details).sort(byGrowth)\n const formattedHeapContents = sortedDetails.map((heapContentItem) => formatHeapContent(heapContentItem))\n\n const heapContentLines = formattedHeapContents.length > 4\n ? formattedHeapContents.slice(0, 4).concat(`... (${formattedHeapContents.length - 4} more)`)\n : formattedHeapContents\n\n return heapContentLines\n .map((line) => ` ${line}`)\n .join('\\n')\n}\n\nfunction formatInteger (value) {\n return Math.round(value) !== value ? '~' + Math.round(value) : value\n}\n"},"lineCount":null}},"hash":"4f7cd63d6466a2ee99fab14b4c38a3f4","cacheData":{"env":{}}} |