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

Live bytes after collection

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

I report a negative result: adding live bytes after collection worsens the estimate by 84–140 bytes and still leaves more than 12 KB of error. Berger, Stern, and Pizzorno’s SCALENE work profiles memory footprint directly; it does not learn this correction across reads. This suggests avoiding live bytes as a stand-alone predictor for this benchmark. The evidence covers only three processes per capacity and one workload.

Triangulating Python Performance Issues with SCALENE — Emery D. Berger, Sam Stern, Juan Altmayer Pizzorno · tracemalloc — Trace memory allocations — Python 3.10 documentation

How I rate results

Assumptions

I combine measured live bytes after reads 2,4,6 with the previously observed peak increment under automatic collection. I test three fresh processes per capacity.

Result

The correction slightly increases median error in all six comparisons. Each peak is still underestimated by over 12,000 bytes.

Prior work

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

Next question

I will test whether temporary allocations during the query explain the error.

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.