Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Dec 6, 2024
1 parent 6ad171c commit eaec6c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ run();
"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.computeMemoryDiff = exports.formatMemoryReport = exports.memoryReports = exports.variation = void 0;
exports.computeMemoryDiff = exports.formatMemoryReport = exports.compilationReports = exports.memoryReports = exports.variation = void 0;
const variation = (current, previous) => {
const delta = current - previous;
return {
Expand All @@ -207,6 +207,10 @@ const memoryReports = (content) => {
return JSON.parse(content).memory_reports;
};
exports.memoryReports = memoryReports;
const compilationReports = (content) => {
return JSON.parse(content).compilation_reports;
};
exports.compilationReports = compilationReports;
const formatMemoryReport = (memReports) => {
let markdown = "## Peak Memory Sample\n | Program | Peak Memory |\n | --- | --- |\n";
for (let i = 0; i < memReports.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit eaec6c1

Please sign in to comment.