diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2014-01-21 14:11:18 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2014-01-22 08:52:23 -0800 |
commit | 3a05f362034bdf3b65cf7ca52ca6ff6c7c7f2502 (patch) | |
tree | 1e4fb5671584740f93888e61a79e0d9f279978a1 /piglit-run.py | |
parent | 734d4b8d23fbdafe3ab1caba53716a27fc2817ce (diff) |
framework/summary.py: fix memory consumption issue
running piglit-summary.py on any decent sized results would result in
the total consumption of all memory, followed by the total consumption
of all swap (totalling 16GB), followed by oom killing on my system.
Replacing the list generating dict.values() with the dict.itervalues()
iterators keeps memory consumption under 1%.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'piglit-run.py')
0 files changed, 0 insertions, 0 deletions