unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 357d800515ca776f695690deae0187a74f635202 1102 bytes (raw)
name: performance-test/Makefile.local 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
# -*- makefile -*-

dir := performance-test

include $(dir)/version.sh

# these two are just make sure dir is expanded at the right time.
TIME_TEST_SCRIPT := ${dir}/notmuch-time-test
MEMORY_TEST_SCRIPT := ${dir}/notmuch-memory-test

CORPUS_NAME := notmuch-email-corpus-$(PERFTEST_VERSION).tar.xz
TXZFILE := ${dir}/download/${CORPUS_NAME}
SIGFILE := ${TXZFILE}.asc
DEFAULT_URL :=  http://notmuchmail.org/releases/${CORPUS_NAME}

perf-test: time-test memory-test

time-test: setup-perf-test all
	@echo
	$(TIME_TEST_SCRIPT) $(TEST_OPTIONS)

memory-test: setup-perf-test all
	@echo
	$(MEMORY_TEST_SCRIPT) $(TEST_OPTIONS)


.PHONY: download-corpus setup-perf-test

# Note that this intentionally does not depend on download-corpus.
setup-perf-test: $(TXZFILE)
	gpg --verify $(SIGFILE)

$(TXZFILE):
	@printf "\nPlease download ${TXZFILE} using:\n\n"
	@printf "\t%% make download-corpus\n\n"
	@echo or see http://notmuchmail.org/corpus for download locations
	@echo
	@false

download-corpus:
	wget -O ${TXZFILE} ${DEFAULT_URL}

CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.* $(dir)/corpus $(dir)/notmuch.cache.*

debug log:

solving 357d800 ...
found 357d800 in https://yhetil.org/notmuch/1355682208-13729-4-git-send-email-david@tethera.net/
found 57beb44 in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100644 57beb44329beb3255d8f87947ab993f702e7d21b	performance-test/Makefile.local

applying [1/1] https://yhetil.org/notmuch/1355682208-13729-4-git-send-email-david@tethera.net/
diff --git a/performance-test/Makefile.local b/performance-test/Makefile.local
index 57beb44..357d800 100644

Checking patch performance-test/Makefile.local...
Applied patch performance-test/Makefile.local cleanly.

index at:
100644 357d800515ca776f695690deae0187a74f635202	performance-test/Makefile.local

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).