Bug 1596346 - Set --post-startup-delay to 0, if running under --with-conditioned-profile. r=perftest-reviewers,rwood
authorStephen Donner <sdonner@mozilla.com>
Mon, 18 Nov 2019 15:32:20 +0000
changeset 502421 09bdf1773bfd1b61d928938fe43b00834f8c3e85
parent 502420 a52581ac4a9dd02c9ae085f428db1e1579a60513
child 502422 d79432359063ff9e76eb2beb606d77713444cf88
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersperftest-reviewers, rwood
bugs1596346
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1596346 - Set --post-startup-delay to 0, if running under --with-conditioned-profile. r=perftest-reviewers,rwood Differential Revision: https://phabricator.services.mozilla.com/D53322
testing/raptor/raptor/raptor.py
--- a/testing/raptor/raptor/raptor.py
+++ b/testing/raptor/raptor/raptor.py
@@ -163,16 +163,21 @@ either Raptor or browsertime."""
         self.debug_mode = debug_mode if self.config['run_local'] else False
 
         # if running debug-mode reduce the pause after browser startup
         if self.debug_mode:
             self.post_startup_delay = min(self.post_startup_delay, 3000)
             LOG.info("debug-mode enabled, reducing post-browser startup pause to %d ms"
                      % self.post_startup_delay)
 
+        if self.config['with_conditioned_profile']:
+            self.post_startup_delay = 0
+            LOG.info("Using conditioned profile; setting post-startup-delay to: {}"
+                     .format(self.post_startup_delay))
+
         LOG.info("main raptor init, config is: %s" % str(self.config))
 
         self.build_browser_profile()
 
     def get_conditioned_profile(self):
         """Downloads a platform-specific conditioned profile, using the
         condprofile client API; returns a self.conditioned_profile_dir"""