MCPcopy Create free account
hub / github.com/babel/minify / runAndPrint

Method runAndPrint

scripts/benchmark.js:36–42  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

34 this.results = [];
35 }
36 runAndPrint(target) {
37 this.files.forEach(file => {
38 const result = this.runFile(file);
39 const printer = new Printer(result, target);
40 printer.print();
41 });
42 }
43 run() {
44 this.files.forEach(file => this.runFile(file));
45 return this.results;

Callers 1

runFunction · 0.95

Calls 2

runFileMethod · 0.95
printMethod · 0.95

Tested by

no test coverage detected