| 336 | }; |
| 337 | |
| 338 | let info = (name, funktions) => { |
| 339 | let ownBytes = ownBytesSum(funktions); |
| 340 | let nofPercent = Math.round(funktions.length / nofFunktions * 100); |
| 341 | let value = (funktions.length + "#").padStart(7) + |
| 342 | (nofPercent + "%").padStart(5) + |
| 343 | BYTES(ownBytes, this.bytesTotal).padStart(16); |
| 344 | log((` - ${name}`).padEnd(20) + value); |
| 345 | this.metrics.set(name + "-bytes", ownBytes); |
| 346 | this.metrics.set(name + "-count", funktions.length); |
| 347 | this.metrics.set(name + "-count-percent", nofPercent); |
| 348 | this.metrics.set(name + "-bytes-percent", |
| 349 | Math.round(ownBytes / this.bytesTotal * 100)); |
| 350 | }; |
| 351 | |
| 352 | log(` - file: ${this.file}`); |
| 353 | log(' - details: ' + |