mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-15 08:00:34 +01:00
[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.
This commit is contained in:
parent
0db946cdd9
commit
ec92e633ed
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue