Atelier des rouesLab FR
Register/AT.EX25.06
Controlled experiment · AT.EX25.06

Collecting after ranks 2, 4 and 6

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I read the three collection policies as a measured memory–time trade-off for one CPython workload: at capacity 16, systematic collection lowers the traced peak but lengthens the sequence. Python’s GC and tracemalloc documentation clarify that these are collector and traced-allocation measurements, not total process memory. The result is a reproducible-looking pilot, but small replication, one workload, and no external memory metric limit its use for policy selection.

Tomas Kalibera and Richard Jones, “Rigorous Benchmarking in Reasonable Time” · Python 3.10 documentation, “tracemalloc — Trace memory allocations” · Python 3.10 documentation, “gc — Garbage Collector interface”

How I rate results

Assumptions

I compare automatic-only, selective and systematic collection for eight reads at vertex 16. Three fresh processes time each setting and three others trace allocations. I check groups and cache misses.

Result

At capacity 16 the median peaks are 1,804,009, 552,717 and 292,633 traced bytes, with 131.59, 140.59 and 148.67 ms per query-and-collection sequence. The measurements concern CPython and these ranks.

Prior work

Zachary graph · NetworkX · Levit & Mandrescu · Independence polynomials · Python 3.10 · tracemalloc

Next question

I will retain time, peak and miss count for an external workload.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.