GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit 093470a8 authored by Michael Comella's avatar Michael Comella Committed by Michael Comella
Browse files

For #17447: add intentional delay to cold start up in debug and nightly.

I validated:
- that the log statement appeared in Nightly but not in Beta.
- that the local runtimes of our perftest increased (the median diff is 124ms)
parent b9bdc288
......@@ -39,6 +39,13 @@ object FeatureFlags {
// users are still experiencing crashes.
const val nimbusExperiments = false
* Enables an intentional regression to validate perftest alerting. See
* for details. This
* is expected to be removed within several days.
val intentionalRegressionToValidatePerfTestAlerting =
* Enables the new MediaSession API.
......@@ -119,6 +119,13 @@ open class FenixApplication : LocaleAwareApplication(), Provider {
open fun setupInMainProcessOnly() {
// See feature flags kdoc for details.
if (FeatureFlags.intentionalRegressionToValidatePerfTestAlerting) {"Intentional thread sleep. See #17447")
@Suppress("MagicNumber") // it's fine for a quick patch.
run {
// Attention: Do not invoke any code from a-s in this scope.
val megazordSetup = setupMegazord()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment