MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / allocation

Function allocation

crates/memtrack/testdata/node_alloc.js:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const ALLOCATION_SIZE = 2_000_001;
5
6function allocation() {
7 // `allocUnsafeSlow` skips the Buffer pool, so V8 asks the allocator for
8 // exactly ALLOCATION_SIZE bytes.
9 return Buffer.allocUnsafeSlow(ALLOCATION_SIZE);
10}
11
12allocation();

Callers 1

node_alloc.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected