MCPcopy Create free account
hub / github.com/microsoft/AI-Engineering-Coach / formatMb

Function formatMb

src/core/runtime-debug.ts:28–30  ·  view source on GitHub ↗
(bytes: number)

Source from the content-addressed store, hash-verified

26}
27
28function formatMb(bytes: number): string {
29 return `${(bytes / (1024 * 1024)).toFixed(1)}MB`;
30}
31
32function detailToString(detail: unknown): string {
33 if (detail === undefined || detail === null) return '';

Callers 1

runtimeMemorySummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected