MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / python_alloc.py

File python_alloc.py

crates/memtrack/testdata/python_alloc.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Run with `python3 -X perf`: the perf trampoline gives `allocation` a
2# `py::allocation:<file>` entry in /tmp/perf-<pid>.map, so the native malloc
3# below can be attributed to this Python function offline.
4import ctypes

Callers

nothing calls this directly

Calls 1

allocationFunction · 0.70

Tested by

no test coverage detected