perf-test: add memory test for reply