(bytes, total)
| 21 | } |
| 22 | |
| 23 | export function BYTES(bytes, total) { |
| 24 | let result = formatBytes(bytes) |
| 25 | if (total !== undefined && total != 0) { |
| 26 | result += PERCENT(bytes, total).padStart(5); |
| 27 | } |
| 28 | return result; |
| 29 | } |
| 30 | |
| 31 | export function TIME(millis) { |
| 32 | return formatMillis(millis, 1); |
no test coverage detected
searching dependent graphs…