From ead47fcace2e2b99446857042ff5a2f13dea5501 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 18 Apr 2007 09:15:18 +0000 Subject: [PATCH] New query result diff. --- matita/scripts/public_html/bench.php | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/matita/scripts/public_html/bench.php b/matita/scripts/public_html/bench.php index eeb3f237b..330912c51 100644 --- a/matita/scripts/public_html/bench.php +++ b/matita/scripts/public_html/bench.php @@ -32,7 +32,7 @@ Whole content: @@@ select * from bench order by mark desc***"); -$query_diff = urlencode(" +$query_time_diff = urlencode(" Time diff: @@@ select @@ -49,6 +49,22 @@ where ABS(b2.timeuser - b1.timeuser) > 100 order by diff desc***"); +$query_result_diff = urlencode(" +Result diff: +@@@ +select + b1.test as test, b1.result as oldresult, b2.result as newresult, b1.timeuser as oldtime, b2.timeuser as newtime, b1.compilation as comp, b1.options as opts, + (b2.timeuser - b1.timeuser) as diff +from + bench as b1, bench as b2 +where + b1.test = b2.test and + b1.options = b2.options and + b1.compilation = b2.compilation and + b1.result <> b2.result and + b1.mark = '$before_last_mark' and b2.mark= '$last_mark' +order by test desc***"); + $query_fail = urlencode(" Number of failures @@@ @@ -255,7 +271,8 @@ function links_of($name,$q,$limits){