Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modem-dev/hunk
/ maybeGc
Function
maybeGc
benchmarks/navigation-memory.ts:142–146 ·
view source on GitHub ↗
(enabled: boolean)
Source
from the content-addressed store, hash-verified
140
}
141
142
function
maybeGc(enabled: boolean) {
143
if
(enabled) {
144
Bun.gc(true);
145
}
146
}
147
148
function
sampleMemory(label: string, navigation: number, options: CliOptions): MemorySample {
149
maybeGc(options.gc);
Callers
1
sampleMemory
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected