[cairo-commit] perf/cairo-perf-diff

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Aug 28 10:53:57 PDT 2007


 perf/cairo-perf-diff |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

New commits:
diff-tree 7ccae2de6d859fcac93cedbd3ecd1121e0d0a72b (from 766346aa5cffb699206cc17114221ba7a0323565)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Aug 28 13:45:02 2007 -0400

    [perf] Make cairo-perf-diff build cairo-perf-diff-files

diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff
index d88aa1e..95bfd11 100755
--- a/perf/cairo-perf-diff
+++ b/perf/cairo-perf-diff
@@ -183,14 +183,20 @@ run_cairo_perf_if_not_cached() {
     cd $owd
 }
 
+git_setup
+
+# Build cairo-perf-diff-files if not available
+if [ ! -e $CAIRO_DIR/perf/cairo-perf-diff-files ]; then
+    echo "Building cairo-perf-diff-files"
+    make -C $CAIRO_DIR/perf/ cairo-perf-diff-files
+fi
+
 if [ ! -e $old ]; then
-    git_setup
     run_cairo_perf_if_not_cached $old old
     old=$(rev2perf $old)
 fi
 
 if [ ! -e $new ]; then
-    git_setup
     run_cairo_perf_if_not_cached $new new
     new=$(rev2perf $new)
 fi


More information about the cairo-commit mailing list