MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / formatMemory

Function formatMemory

benchmark/src/memory_benchmark.ts:45–45  ·  view source on GitHub ↗
(memInKB: number)

Source from the content-addressed store, hash-verified

43}
44
45const formatMemory = (memInKB: number) => toFixed(memInKB / 1024, 3);
46
47export function compareMemoryBenchmarks(
48 oldResults: MemoryBenchmarkResult[],

Callers

nothing calls this directly

Calls 1

toFixedFunction · 0.90

Tested by

no test coverage detected