perf-test: add simple memory tests for notmuch-show