perf-test: add memory test for notmuch-insert