tests: Add performance tracking framework
authorØyvind Kolås <pippin@linux.intel.com>
Wed, 19 Jan 2011 11:38:25 +0000 (11:38 +0000)
committerØyvind Kolås <pippin@linux.intel.com>
Mon, 4 Jul 2011 16:27:48 +0000 (17:27 +0100)
commitaa05b66a018b7b7bc9349aed30d24e7cf012b34b
tree1318363d0b6bbceede43c67cd99289a373ce94e1
parentfa1350b8f36d2c1719c83d03fb282286a6e59e87
tests: Add performance tracking framework

This adds a performance tracking framework that can run a set of tests over
specified git revisions. The ruby script for generating the reports comes from
similar performance tracking in GEGL. The framework permits evaluating new
tests against older version of clutter.

The tests themselves go through a few hoops for disabling framerate limiting in
both mesa and clutter.

When running make check the tests will be run and lines of the form:

@ test-state: 40.51 fps

will be left in the output, a script can scrape these lines out of a build log
on a buildbot to in other ways track performance.
18 files changed:
Makefile.am
configure.ac
tests/Makefile.am
tests/README
tests/performance/Makefile-retrospect [new file with mode: 0644]
tests/performance/Makefile-tests [new file with mode: 0644]
tests/performance/Makefile.am [new file with mode: 0644]
tests/performance/create-report.rb [new file with mode: 0755]
tests/performance/joblist [new file with mode: 0644]
tests/performance/makejobs.rb [new file with mode: 0755]
tests/performance/test-common.h [new file with mode: 0644]
tests/performance/test-picking.c [new file with mode: 0644]
tests/performance/test-state-hidden.c [new file with mode: 0644]
tests/performance/test-state-interactive.c [new file with mode: 0644]
tests/performance/test-state-mini.c [new file with mode: 0644]
tests/performance/test-state-pick.c [new file with mode: 0644]
tests/performance/test-state.c [new file with mode: 0644]
tests/performance/test-text-perf.c [new file with mode: 0644]