Closed Bug 1841138 Opened 3 years ago Closed 3 years ago

Add more measurements to FirstStartup to determine where most of the time is being spent

Categories

(Firefox :: Installer, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(2 files)

When invoked, FirstStartup does two jobs simultaneously, and blocks until both are done:

  1. It initializes the Normandy client, which I believe involves downloading experiment recipes to determine if any of them need to occur for onboarding
  2. It deletes any pre-existing TaskScheduler tasks in case this is a pave-over install

Some users are seeing timeouts from FirstStartup, and we'd like to know which of these two jobs is the biggest contributor.

Attachment #9341801 - Flags: data-review?(chutten)
See Also: → 1749345

(In reply to Mike Conley (:mconley) (:⚙️) from comment #0)

When invoked, FirstStartup does two jobs simultaneously, and blocks until both are done:

  1. It initializes the Normandy client, which I believe involves downloading experiment recipes to determine if any of them need to occur for onboarding
  2. It deletes any pre-existing TaskScheduler tasks in case this is a pave-over install

Some users are seeing timeouts from FirstStartup, and we'd like to know which of these two jobs is the biggest contributor.

For completely unrelated but very similar reasons, :bytesized added a --backgroundtask install task at https://searchfox.org/mozilla-central/source/browser/modules/BackgroundTask_install.sys.mjs. Part 2. could be part of that (if it turns out to matter). I expect it to not matter.

Comment on attachment 9341801 [details]
Data collection request.md

PRELIMINARY NOTES:
Glean, collection, eh? Have you heard of ./mach data-review? It's pretty neat.

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, Mike Conley <mconley@mozilla.com> and Robert Helmer <rhelmer@mozilla.com> are responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does the data collection use a third-party collection tool?

No.


Result: datareview+

Attachment #9341801 - Flags: data-review?(chutten) → data-review+
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c6b2887574af Add individual time measurements for FirstStartup jobs. data-review=chutten,r=rhelmer
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: