Message286082
Thanks. Your patch reduced memory consumption by 2%,
and number of tuples by 15%.
$ cat invtuple.py
import app
import sys
import traceback
import tracemalloc
print(tracemalloc.get_traced_memory())
allobj = sys.getobjects(0, tuple)
print(len(allobj))
$ PYTHONTRACEMALLOC=1 venv/bin/python invtuple.py
(51491189, 51506311)
87143
$ PYTHONTRACEMALLOC=1 venv-mt/bin/python invtuple.py
(50551519, 50566641)
74308 |
|
Date |
User |
Action |
Args |
2017-01-23 13:00:59 | methane | set | recipients:
+ methane, rhettinger, vstinner, serhiy.storchaka |
2017-01-23 13:00:59 | methane | set | messageid: <1485176459.55.0.129370948037.issue29336@psf.upfronthosting.co.za> |
2017-01-23 13:00:59 | methane | link | issue29336 messages |
2017-01-23 13:00:59 | methane | create | |
|