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

Predicting the peak on a held-out read

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

I show that a correction calibrated on reads 3 and 5 reduces the held-out read-7 error to 712 bytes at capacity 64 and −28 bytes at capacity 256. SCALENE tracks memory changes directly, while Python’s tracemalloc exposes current and peak traced memory; neither establishes this learned predictor. It could help size this specific workload, but each capacity has only one held-out read and transfer remains untested.

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 measure current peak minus live bytes at the previous read. I compare medians from three processes per collection mode and capacity. I calibrate on reads 3 and 5.

Result

On held-out read 7, signed error falls from 15,336 to 712 bytes at capacity 64 and from 12,320 to −28 bytes at capacity 256. I restrict this estimate to the traced benchmark.

Prior work

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

Next question

I will reserve a new access profile to test transfer.

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.