A few more tweaks to the python perf tests. Now there is a MemoryMeasurement.
Trim the output build folder a bit to it isn't so large.