From 1b4bc997554894d4a317eae965f4634e04c11d20 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Wed, 27 Dec 2017 22:32:11 -0500 Subject: Add TIMING_SORT_BY and --sort-by to timing scripts This should help with #5675, in particular with https://github.com/coq/coq/issues/5675#issuecomment-349716292 --- test-suite/coq-makefile/timing/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test-suite/coq-makefile/timing/run.sh') diff --git a/test-suite/coq-makefile/timing/run.sh b/test-suite/coq-makefile/timing/run.sh index 898af5590..4cff224c7 100755 --- a/test-suite/coq-makefile/timing/run.sh +++ b/test-suite/coq-makefile/timing/run.sh @@ -31,9 +31,9 @@ coq_makefile -f _CoqProject -o Makefile make cleanall make make-pretty-timed-after TGTS="all" -j1 || exit $? rm -f time-of-build-before.log -make print-pretty-timed-diff TIME_OF_BUILD_BEFORE_FILE=../before/time-of-build-before.log +make print-pretty-timed-diff TIMING_SORT_BY=diff TIME_OF_BUILD_BEFORE_FILE=../before/time-of-build-before.log cp ../before/time-of-build-before.log ./ -make print-pretty-timed-diff || exit $? +make print-pretty-timed-diff TIMING_SORT_BY=diff || exit $? INFINITY="∞" INFINITY_REPLACEMENT="+.%" # assume that if the before time is zero, we expected the time to increase -- cgit v1.2.3