summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-10 08:34:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-10 08:52:43 +0100
commitec92e633edd377747155b60aa225b266c38bc498 (patch)
tree4e47122c211d788651b27efeef6c1dd70beb15bf /perf
parent0db946cdd9fe601a060b62c5df7df3022ea5e2d6 (diff)
[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.
Diffstat (limited to 'perf')
-rw-r--r--perf/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/perf/Makefile.am b/perf/Makefile.am
index e06cde42..362fdaca 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