summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-11-10 14:04:17 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-11-10 14:04:58 +0000
commit3bc3ab27eac6eace4c90c8da92b4e7570110263b (patch)
treea79f1281db2a5d578670fd76e0cb452a5816e59b /benchmarks
parent5cabb8c543d42c2473d11c3e6cb65bf5746b4cae (diff)
benchmarks: Add README
Add a README to introduce the ezbench.sh benchmark runner. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile.am2
-rw-r--r--benchmarks/README9
2 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/Makefile.am b/benchmarks/Makefile.am
index 9ba0fda7..44408e22 100644
--- a/benchmarks/Makefile.am
+++ b/benchmarks/Makefile.am
@@ -11,3 +11,5 @@ gem_exec_tracer_la_LIBADD = -ldl
gem_wait_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_wait_LDADD = $(LDADD) -lpthread
+
+EXTRA_DIST=README
diff --git a/benchmarks/README b/benchmarks/README
new file mode 100644
index 00000000..b041a9d0
--- /dev/null
+++ b/benchmarks/README
@@ -0,0 +1,9 @@
+These benchmarks are designed to be used from within a benchmark framework
+like http://cgit.freedesktop.org/~mperes/ezbench/.
+
+A typical way to run them would be:
+
+$ ~/ezbench/ezbench.sh -p ./linux,git -m '' -b gem: -r 15
+
+which executes the set of gem benchmarks, 15 times each, using HEAD of
+./linux.git as the reference commit.