summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-diff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-11-10 10:31:14 -0800
committerCarl Worth <cworth@cworth.org>2006-11-10 11:26:01 -0800
commit26b74049e79a6137e8556e1b3e5c3aedd780abb0 (patch)
treeea8979fcef7ac5b2f701e1016f44dfcf8bb7b364 /perf/cairo-perf-diff
parentf1f189b81a24730b7c5b5761165ab30bb8310bca (diff)
downloadcairo-26b74049e79a6137e8556e1b3e5c3aedd780abb0.tar.gz
cairo-perf-diff: Use rsync instead of cp to avoid some unnecessary rebuilding
Diffstat (limited to 'perf/cairo-perf-diff')
-rwxr-xr-xperf/cairo-perf-diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/perf/cairo-perf-diff b/perf/cairo-perf-diff
index a50fe14f8..0ef32eb8d 100755
--- a/perf/cairo-perf-diff
+++ b/perf/cairo-perf-diff
@@ -127,9 +127,9 @@ run_cairo_perf_if_not_cached() {
git checkout tmp-cairo-perf-diff
git reset --hard $sha
make CFLAGS="-O2" || (rm config.cache && make CFLAGS="-O2")
- cp -a $CAIRO_DIR/boilerplate .
+ rsync -rl $CAIRO_DIR/boilerplate .
(cd boilerplate; make)
- cp -a $CAIRO_DIR/perf .
+ rsync -rl $CAIRO_DIR/perf .
cd perf;
make || exit 1
echo "Running \"cairo-perf $CAIRO_PERF_OPTIONS\" against $rev. Results will be cached in:"