[gegl] perf: add target that profiles commits in reverse chronological order



commit 191d73c50d0e9a18d547da577d70ee137700cece
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri Jul 11 16:08:45 2014 +0200

    perf: add target that profiles commits in reverse chronological order
    
    This might be most useful to quickly test whether a given commit introduces a
    performance regression.

 perf/Makefile-retrospect |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/perf/Makefile-retrospect b/perf/Makefile-retrospect
index a1587d7..14517c6 100644
--- a/perf/Makefile-retrospect
+++ b/perf/Makefile-retrospect
@@ -31,6 +31,7 @@ reset:
        # create clone
        git clone -s $(PROJECT_PATH) checkout
        mkdir reports > /dev/null 2>&1 || true
+       killall tail
        make -f $(SELF) jobs
        make -f $(SELF) prepare
 
@@ -40,6 +41,9 @@ jobs: joblist
 sequential:
        for a in `cat jobs`;do make -f $(SELF) reports/$$a;done
 
+reverse:
+       for a in `tac jobs`;do make -f $(SELF) reports/$$a;done
+
 random:
        for a in `cat jobs|sort`;do make -f $(SELF) reports/$$a;done
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]