summaryrefslogtreecommitdiffstats
path: root/tools/bisect_utils.py
diff options
context:
space:
mode:
authorsimonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-25 00:43:15 +0000
committersimonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-25 00:43:15 +0000
commita3ecfb36ba26ef358e0098f893fa6966c206623b (patch)
tree8199636e5afc7c705919a3a20d3155e250ec5dbf /tools/bisect_utils.py
parent5b45ad46eafe1508df0bf2ce10e544e01cded7ce (diff)
downloadchromium_src-a3ecfb36ba26ef358e0098f893fa6966c206623b.zip
chromium_src-a3ecfb36ba26ef358e0098f893fa6966c206623b.tar.gz
chromium_src-a3ecfb36ba26ef358e0098f893fa6966c206623b.tar.bz2
Clearly print repro steps in the bisect results so that the perf dashboard includes it in any bugs it comments on.
BUG=310400 TEST=Run a bisect, example results: Tested commits: Depot Commit SHA Mean Std. Error State chromium f1c0c49bdc506aff047bd64d343bfd30d0e3f327 0.00 +-0.00 Suspected CL chromium 15d0233ec7c7f5407c5612dcda1a09466316f213 0.00 +-0.00 Good Average build time: 0:00:00 Average test time: 0:00:00 Approximate size of regression: -100.00%, +-0.00% std. err Confidence in Bisection Results: 0% Experimental - If confidence is less than 100%, there are could be some other strong candidates for this regression. You can try increasing the repeat_count, or looking for a sub-metric that shows the regression more clearly. Results: Regression may have occurred in range: -> First Bad Revision: [f1c0c49bdc506aff047bd64d343bfd30d0e3f327] [chromium] -> Last Good Revision: [15d0233ec7c7f5407c5612dcda1a09466316f213] [chromium] Commit : f1c0c49bdc506aff047bd64d343bfd30d0e3f327 Author : viettrungluu@chromium.org Email : viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 Date : Mon, 21 Oct 2013 19:44:48 +0000 Subject : Mojo: Add debug-only checks to Waiter that check that Init() has been called. To reproduce locally: xvfb-run -a tools/perf/run_measurement -v --browser=release blink_perf third_party/WebKit/PerformanceTests/Layout/floats_50_100.html Also consider passing --profiler=list to see available profilers. Review URL: https://codereview.chromium.org/39553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/bisect_utils.py')
-rw-r--r--tools/bisect_utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bisect_utils.py b/tools/bisect_utils.py
index c958f35..1dcf841 100644
--- a/tools/bisect_utils.py
+++ b/tools/bisect_utils.py
@@ -102,6 +102,11 @@ def OutputAnnotationStepLink(label, url):
sys.stdout.flush()
+def IsTelemetryCommand(command):
+ """Attempts to discern whether or not a given command is running telemetry."""
+ return ('tools/perf/run_' in command or 'tools\\perf\\run_' in command)
+
+
def CreateAndChangeToSourceDirectory(working_directory):
"""Creates a directory 'bisect' as a subdirectory of 'working_directory'. If
the function is successful, the current working directory will change to that