[LNT] r348881 - Time new regression creation
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 11 10:47:46 PST 2018
Author: cmatthews
Date: Tue Dec 11 10:47:46 2018
New Revision: 348881
URL: http://llvm.org/viewvc/llvm-project?rev=348881&view=rev
Log:
Time new regression creation
I'd like to know how long this takes in production.
Modified:
lnt/trunk/lnt/server/db/regression.py
Modified: lnt/trunk/lnt/server/db/regression.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/regression.py?rev=348881&r1=348880&r2=348881&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/regression.py (original)
+++ lnt/trunk/lnt/server/db/regression.py Tue Dec 11 10:47:46 2018
@@ -4,6 +4,7 @@ import re
from collections import namedtuple
from lnt.server.reporting.analysis import RunInfo
from lnt.server.ui.util import guess_test_short_name as shortname
+from lnt.testing.util.commands import timed
class RegressionState:
@@ -37,6 +38,7 @@ ChangeRuns = namedtuple("ChangeRuns", ["
ChangeData = namedtuple("ChangeData", ["ri", "cr", "run", "latest_cr"])
+ at timed
def new_regression(session, ts, field_changes):
"""Make a new regression and add to DB."""
today = datetime.date.today()
More information about the llvm-commits
mailing list