Closed
Bug 1183319
Opened 9 years ago
Closed 9 years ago
add telemetry probe in about:logins for load time of getAllLogins() in the wild
Categories
(Firefox for Android Graveyard :: Logins, Passwords and Form Fill, defect)
Firefox for Android Graveyard
Logins, Passwords and Form Fill
Tracking
(firefox42 fixed)
RESOLVED
FIXED
Firefox 42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: ally, Assigned: ally)
References
Details
Attachments
(2 files)
2.89 KB,
patch
|
vladan
:
review+
mfinkle
:
review+
|
Details | Diff | Splinter Review |
2.98 KB,
patch
|
mfinkle
:
review-
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•9 years ago
|
Blocks: password-android-v2
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Summary: add telemetry probein about:logins for load time of getAllLogins() in the wild → add telemetry probe in about:logins for load time of getAllLogins() in the wild
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ally
Assignee | ||
Comment 2•9 years ago
|
||
likely targeting Firefox 55 as the expiration date.
Assignee | ||
Comment 3•9 years ago
|
||
Vlad for data review, mfinkle for general android review.
Attachment #8636830 -
Flags: review?(vdjeric)
Attachment #8636830 -
Flags: review?(mark.finkle)
Comment 4•9 years ago
|
||
Comment on attachment 8636830 [details] [diff] [review]
telemetryStopWatchGetAllLogins
I'm assuming that the optional "cpp_guard" is not needed here. We only seem to use it for probes that originate in Java.
Attachment #8636830 -
Flags: review?(mark.finkle) → review+
Updated•9 years ago
|
Comment 5•9 years ago
|
||
Comment on attachment 8636830 [details] [diff] [review]
telemetryStopWatchGetAllLogins
Review of attachment 8636830 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/telemetry/Histograms.json
@@ +8180,5 @@
> + "PWMGR_ABOUT_LOGINS_GET_ALL_LOGINS_MS": {
> + "expires_in_version": "55",
> + "kind": "exponential",
> + "high": 60000,
> + "n_buckets": 30,
btw, we now have a page that previews what your histogram buckets will look like:
http://development.telemetry-dashboard.divshot.io/histogram-simulator/#low=1&high=60000&n_buckets=30&kind=exponential&generate=log-normal
We'll move it to the official telemetry.mozilla.org page in a couple of days
Attachment #8636830 -
Flags: review?(vdjeric) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Nifty thats handy.
https://hg.mozilla.org/integration/fx-team/rev/a6bf83d92196
Assignee | ||
Comment 7•9 years ago
|
||
I'm about to be backed out for busting b2g. mfinkle, the cpp guard business wouldnt have anything to do with b2g would it?
Flags: needinfo?(mark.finkle)
Comment 8•9 years ago
|
||
(In reply to Allison Naaktgeboren please NEEDINFO? :ally from comment #7)
> I'm about to be backed out for busting b2g. mfinkle, the cpp guard business
> wouldnt have anything to do with b2g would it?
No idea. Worth adding it and pushing to Try.
Flags: needinfo?(mark.finkle)
Assignee | ||
Comment 9•9 years ago
|
||
What was my plan, but I thought it worth inquiring, like that time I accidentally broke SeaMonkey by including a symc dtd in a new place
Assignee | ||
Comment 10•9 years ago
|
||
This was backed out.
green try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d062e05007e2
Assignee | ||
Comment 11•9 years ago
|
||
full green try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2afd47fbe83d
Assignee | ||
Comment 12•9 years ago
|
||
see above for build run
Attachment #8638792 -
Flags: review?(mark.finkle)
Comment 13•9 years ago
|
||
Comment on attachment 8638792 [details] [diff] [review]
aboutLoginsTelemetryStopwatch with idfef
Let's rollback to your original patch.
Let's look at the reason for the build bustage:
78[1G[J[34m 0:08.13(B[m File "/home/worker/workspace/gecko/toolkit/components/telemetry/histogram_tools.py", line 276, in from_Histograms_json
78[1G[J[34m 0:08.13(B[m raise BaseException, "error parsing histograms in %s: %s" % (filename, e.message)
78[1G[J[34m 0:08.13(B[m BaseException: error parsing histograms in /home/worker/workspace/gecko/toolkit/components/telemetry/Histograms.json: Expecting , delimiter: line 8233 column 1 (char 301995)
It seems like Histograms.json has a bad delimiter.
Looking at your patch though, things are fine. But when we look at what was landed, I see an extra leading "+" in Histograms.json that somehow slipped in:
https://hg.mozilla.org/integration/fx-team/rev/a6bf83d92196
I also see the "logins = Services.logins.getAllLogins();" line is indented a space too much, also not in the patch.
Adding the #ifdefs won't actually fix the build bustage, which kinda makes sense since aboutLogins.js is not included in b2g builds. But Histograms.json is included.
The original patch is simpler and cleaner, and should work fine as long as it's landed cleanly.
Attachment #8638792 -
Flags: review?(mark.finkle) → review-
Comment 14•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Comment 15•9 years ago
|
||
I see we have some data coming in now:
http://mzl.la/1IS6CDB
Mean: ~50ms, but I'm surprised that 75th %-ile is almost 1sec. Still, overall the majority of people are not seeing a large delay from the API.
I still question why we are using images/favicons though. Nearly all of mine are the default image.
Comment 16•9 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #15)
> I see we have some data coming in now:
> http://mzl.la/1IS6CDB
>
> Mean: ~50ms, but I'm surprised that 75th %-ile is almost 1sec. Still,
> overall the majority of people are not seeing a large delay from the API.
>
> I still question why we are using images/favicons though. Nearly all of mine
> are the default image.
Do we have an open bug filed on that? We should discuss the UX trade-offs there. We're probably suffering from the same sync issue that we have with desktop history items.
Flags: needinfo?(ally)
Assignee | ||
Comment 17•9 years ago
|
||
open bug filed on default image favicons or for a trade off discussion? Either way I know of neither already on file but I can remedy that.
Flags: needinfo?(ally)
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•