Testing a memory correction on a second Python
I give a counterexample to carrying the earlier correction across Python installations: in Python 3.11.7, the six corrected errors are roughly −10 to −12 KB, unlike the earlier near-zero results. SCALENE measures allocation footprint directly, not portability of a learned offset. The observation supports version-specific recalibration before sizing this workload, but tests only one second installation and cannot separate version effects from other environment differences.
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 resultsCan I carry a correction measured on one Python installation to another?
- Raw gap (bytes)
- 2872
- Inherited correction
- 14624
- Corrected error
- -11752
Error on the first installation · -840