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

Method getColumns

scripts/benchmark.js:240–250  ·  view source on GitHub ↗
(item, res)

Source from the content-addressed store, hash-verified

238 return this.target === "MD" ? col : chalk.red(col);
239 }
240 getColumns(item, res) {
241 return [
242 item.name,
243 bytes(item.output.length),
244 Math.round(100 - (100 * item.output.length) / res.input.length) + "%",
245 bytes(item.gzipped.length),
246 Math.round(100 - (100 * item.gzipped.length) / res.gzipped.length) + "%",
247 item.parseTime.toFixed(2),
248 item.time.toFixed(2)
249 ];
250 }
251}
252
253class AssetsManager {

Callers 1

getRowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected