[llvm-commits] [LNT] r156014 - /lnt/trunk/lnt/server/reporting/runs.py
Daniel Dunbar
daniel at zuster.org
Wed May 2 13:13:42 PDT 2012
Author: ddunbar
Date: Wed May 2 15:13:42 2012
New Revision: 156014
URL: http://llvm.org/viewvc/llvm-project?rev=156014&view=rev
Log:
UI/v4 reporting: Don't show baseline numbers if it is the same as the comparison run.
Modified:
lnt/trunk/lnt/server/reporting/runs.py
Modified: lnt/trunk/lnt/server/reporting/runs.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/reporting/runs.py?rev=156014&r1=156013&r2=156014&view=diff
==============================================================================
--- lnt/trunk/lnt/server/reporting/runs.py (original)
+++ lnt/trunk/lnt/server/reporting/runs.py Wed May 2 15:13:42 2012
@@ -53,6 +53,10 @@
filter(ts.Run.order == best).\
order_by(ts.Run.start_time.desc()).first()
+ # If the baseline is the same as the comparison run, ignore it.
+ if baseline is compare_to:
+ baseline = None
+
# Gather the runs to use for statistical data.
if comparison_window is None:
comparison_start_run = compare_to or run
More information about the llvm-commits
mailing list