Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
45
const
formatMemory = (memInKB: number) => toFixed(memInKB / 1024, 3);
46
47
export
function
compareMemoryBenchmarks(
48
oldResults: MemoryBenchmarkResult[],
Callers
nothing calls this directly
Calls
1
toFixed
Function · 0.90
Tested by
no test coverage detected