[PATCH v2 13/14] perf test: Add test for per-thread mode