Closed Bug 1039727 Opened 10 years ago Closed 10 years ago

[Rocketbar] e.me search suggestion/results takes 1 to 2 seconds per character type to respond.

Categories

(Firefox OS Graveyard :: Gaia::Search, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(feature-b2g:2.1, b2g-v2.0 affected, b2g-v2.1 affected)

RESOLVED DUPLICATE of bug 1041380
feature-b2g 2.1
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected

People

(Reporter: nhirata, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [c=progress p= s= u=])

1. turn on wifi
2. turn on search suggestions
3. type in rocketbar

Expected: more caching/faster results.
Actual: each type takes about 1 to 2 seconds to give a response.  Even if the search was already done.

see : http://www.youtube.com/watch?v=1YOMQ9T_9JI

Gaia      d29773d2a011825fd77d1c0915a96eb0911417b6
Gecko     https://hg.mozilla.org/mozilla-central/rev/691ffea49efb
BuildID   20140716040207
Version   33.0a1
ro.build.version.incremental=109
ro.build.date=Mon Jun 16 16:51:29 CST 2014
B1TC00011220
Flame 512.
Summary: [Rocketbar] e.me search suggestion/results performance → [Rocketbar] e.me search suggestion/results takes 1 to 2 seconds per character type to respond.
I have a feeling that some people might complain about the performance, so I filed a bug on it.
Flags: needinfo?(kgrandon)
I think part of the problem is there's no feedback other than the icons appearing after a second or two.  Sometimes it takes longer.  Since the status bar is no longer there, there's no download icon animation that you can see.
Flags: needinfo?(fdjabri)
It's auto-complete that hits a server with no SLAs, so it's a bit slow - something we should definitely fix in the future. I believe we're supposed to show a spinner.

Did we have results as-you-type in v1.4? If so, how does the performance compare?
Flags: needinfo?(kgrandon)
The "as you type" search does occur in 1.4 if you pause for several seconds in between each key stoke.
The performance is just as bad if not worse in 1.4; having said that there's a feedback of the data transfer in the status bar that can be seen in 1.4.
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
According to the specs, we should show an activity indicator if results are slow to load. Some feedback should be shown if there's a delay of over a second.
Flags: needinfo?(fdjabri)
[Blocking Requested - why for this release]: due to comment 5
blocking-b2g: --- → 2.0?
I think this is something we had planned on doing in 2.1 for the search app anyway.

Dale - any chance you have some cycles to take a look at this?
Flags: needinfo?(dale)
It's too late to fix this in 2.0. Lets fix it for 2.1 and decide if the patch is appropriate for an uplift.
blocking-b2g: 2.0? → ---
feature-b2g: --- → 2.1
Yup I can take this, but got a decent list on my plate right now so tracking it as blocking the rocketbar and will pick it up when im clear
Flags: needinfo?(dale)
Priority: -- → P2
Whiteboard: [c=progress p= s= u=]
Blocks: 1041380
No longer blocks: rocketbar-search-mvp
Gregor, this bug doesn't have an owner. Are we going to land this in 2.1? Or, can we postpone this to 2.2?
Flags: needinfo?(anygregor)
Dale, is this already fixed?
Flags: needinfo?(anygregor) → needinfo?(dale)
As mentioned the only thing that can be done for this is the spinner which kevin or I can pick up today / tomorrow depending on how things land (https://bugzilla.mozilla.org/show_bug.cgi?id=1041380), ill take it
Flags: needinfo?(dale)
kevin feel free to steal since I wasnt sure if you said you already did a bit
Fixing this in the parent bug, closing dupe

https://bugzilla.mozilla.org/show_bug.cgi?id=1041380
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.