diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-21 06:44:34 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-09-21 08:24:11 +0200 |
| commit | 54952e3cd22b5f4812ca9454dc8871f8e63019d7 (patch) | |
| tree | 9a6ba980f553644413c1541380aa6897cd3c9c61 /examples/print_refs.py | |
| parent | 8a9da508b1c1e8abe5437de4bb420972fe8ddc71 (diff) | |
Massively reduce test suite memory usage
Previously we would load all arches once in the beginning and reuse them
throughout the test suite. With 36 arches with all symbols evaluated and
cached, this used many gigabytes of memory (unless the test suite was
run with pypy). Restructure things so that we only keep one arch loaded
at a time. This adds some reparsing, but it's not a big deal.
Do an ugly piggy-backing of some code cleanup in the test suite (mostly
using un-numbered {} with format()).
Diffstat (limited to 'examples/print_refs.py')
0 files changed, 0 insertions, 0 deletions
