From ec92e633edd377747155b60aa225b266c38bc498 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 10 Jun 2009 08:34:57 +0100 Subject: [PATCH] [perf] Couple cairo-perf-traces into make perf Rather than complicating cairo-perf to extend it to perform both micro- and macro-benchmarks, simply run the two binaries in succession during make perf. For bonus points, consider whether we should hook cairo-perf-trace into cairo-perf-diff. --- perf/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perf/Makefile.am b/perf/Makefile.am index e06cde42a..362fdacae 100644 --- a/perf/Makefile.am +++ b/perf/Makefile.am @@ -132,8 +132,9 @@ TESTS_ENVIRONMENT = CAIRO_TEST_TARGET="$(TARGETS)" CAIRO_PERF_ITERATIONS="10" TESTS += cairo-perf$(EXEEXT) -perf: cairo-perf$(EXEEXT) - $(CAIRO_PERF_ENVIRONMENT) ./cairo-perf$(EXEEXT) +perf: cairo-perf$(EXEEXT) cairo-perf-trace$(EXEEXT) + -$(CAIRO_PERF_ENVIRONMENT) ./cairo-perf$(EXEEXT) + -$(CAIRO_PERF_ENVIRONMENT) ./cairo-perf-trace$(EXEEXT) html-local: index.html