TS: some fixes in perf tests