Closed Bug 796549 Opened 12 years ago Closed 12 years ago

[marketplace] Persona takes about 8 seconds to login to the Marketplace

Categories

(Core Graveyard :: Identity, defect, P3)

defect

Tracking

(blocking-basecamp:+)

RESOLVED WORKSFORME
blocking-basecamp +

People

(Reporter: ghtobz, Assigned: smcarthur)

References

Details

(Whiteboard: [label:market][label:perf])

[GitHub issue by nhirata on 2012-08-27T19:03:36Z, https://github.com/mozilla-b2g/gaia/issues/3881]
## Environment :
Otoro phone, build 2012-08-27
Taken from default.xml in b2g-distro: 
* "platform_build" revision= 76e88b579737d7b5078063dcbec60c2ad2c70465
* "gaia" revision= a20b169471345125092e91f981581dccd23e3371 
* "mozilla-central" revision= 1bf80bf946010db2810996225e143a3c50cede36
* "gonk-misc" revision= a9b6133e492017d34703ae3f24ea1fa9349cbcce

## Repro :
1. launch marketplace
2. sign in on the Marketplace

## Expected :
1. get right in

## Actual :
1. takes about 8 seconds for it to sign in.

## Note :
Performance/UI Feedback issue.  there's nothing to show that the user is logging in.
[GitHub comment by autonome on 2012-09-17T15:28:24Z]
Reproducible. /cc @cvan @potch
[GitHub comment by potch on 2012-09-17T21:09:08Z]
Can we get a more detailed breakdown of when the unacceptable lag is? is it after finishing the Persona sign-in process?
[GitHub comment by autonome on 2012-09-25T03:46:32Z]
Retried just now and here's where the lag occurred for me:

* 4 seconds to load the persona login prompt
* 4 seconds after the prompt disappeared and the site content appeared
Priority: -- → P1
assigning to Sean.

Sean: I'm guessing we're dealing with the general speed of loading the dialog (which Francois is working on), and likely crypto performance. For this you'll need an actual device.

Chris: can you help get Sean a device?
Assignee: nobody → smcarthur
Currently testing on a Galaxy S1, Firefox for Android.

I see about 4 seconds till the dialog is loaded. After signing in, it seems to take less than a second for the dialog to close and the Marketplace tab to start loading the "logged in" page. That would be when the crypto is taking place. However, it does take another 4ish seconds to load the next Marketplace page.

That load time seems consistent with the rest of the website I browse to (way faster than some, even).
Hm, I think we need a more detailed view of where the time is being spent. Perhaps profiling it could give you more data?

https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler
Priority: P1 → --
Priority: -- → P3
Component: Gaia → Identity
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Sean - Are you able to still reproduce this with new trusted UI persona implementation?
I don't have a dev device, so I haven't tried.
QA wanted to retest eventually.
Blocks: basecamp-id
Keywords: qawanted
QA Contact: jsmith
Tried this out today with the trusted UI implementation with persona - can't reproduce at all. If I end up catching this in more my extension testing coming soon with John, then I'll file a new bug. Closing this one as worksforme.
Status: NEW → RESOLVED
Closed: 12 years ago
Keywords: qawanted
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.