@memlab/heap-analysis 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -54,7 +54,7 @@ class CollectionUnboundGrowthAnalysis extends BaseAnalysis_1.default {
|
|
|
54
54
|
const snapshotDir = PluginUtils_1.default.getSnapshotDirForAnalysis(options);
|
|
55
55
|
const opt = snapshotDir ? { minSnapshots: 2, snapshotDir } : {};
|
|
56
56
|
core_1.config.chaseWeakMapEdge = false;
|
|
57
|
-
core_1.
|
|
57
|
+
core_1.memoryBarChart.plotMemoryBarChart(opt);
|
|
58
58
|
core_1.utils.checkSnapshots(opt);
|
|
59
59
|
yield this.checkUnboundCollection(opt);
|
|
60
60
|
});
|
|
@@ -58,7 +58,7 @@ class ObjectUnboundGrowthAnalysis extends BaseAnalysis_1.default {
|
|
|
58
58
|
}
|
|
59
59
|
checkUnbound(options = {}) {
|
|
60
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
-
core_1.
|
|
61
|
+
core_1.memoryBarChart.plotMemoryBarChart(options);
|
|
62
62
|
core_1.utils.checkSnapshots(options);
|
|
63
63
|
yield this.detectUnboundGrowth(options);
|
|
64
64
|
});
|