BLD: test_perf.py gc disable can exhaust memory (where are the cycles?)