[Python-Dev] Reduce memory footprint of Python (original) (raw)
Victor Stinner victor.stinner at gmail.com
Sun Oct 6 22:22:08 CEST 2013
- Previous message: [Python-Dev] Reduce memory footprint of Python
- Next message: [Python-Dev] Reduce memory footprint of Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Benjamin wrote:
Is it important to optimize unittests for memory usage?
2013/10/6 Georg Brandl <g.brandl at gmx.net>:
That does not seem very important, except if people execute testimport on every interpreter startup :)
Oh, I just realized that I forgot to explain why I'm starting with unit tests. I ran the Python test suite using -X tracemalloc (tracing all memory allocations) because the test suite is a nice tool to stress a new module (tracemalloc). The test suite creates many threads, subprocesses, send random signals, etc.
That's why I started to monitor the test suite. I know that it's not the most critical part of Python :-)
Victor
- Previous message: [Python-Dev] Reduce memory footprint of Python
- Next message: [Python-Dev] Reduce memory footprint of Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]