Closed Bug 983568 Opened 10 years ago Closed 10 years ago

[Search] Implement new lightweight Marketplace API

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

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

Attachments

(1 file)

Bug 978736 implemented a new marketplace api that has a much lighter-weight result set. This should make results much quicker to download/parse. This bug tracks the implementation from the gaia side of things.
In master today, each marketplace fetch and parse takes between 400 and 600ms. After some quick testing, the new api takes between 300 and 500ms, a definite improvement.
Attached file Github pull request
Hey Eli - could you take a look at this one if you have some time?
Attachment #8391098 - Flags: review?(eperelman)
Blocks: 983615
Comment on attachment 8391098 [details] [review]
Github pull request

Code looks great. I tested this patch locally and didn't have any search queries take longer than 350ms. Most were between 290ms and 320ms, with a few around the 275ms mark.
Attachment #8391098 - Flags: review?(eperelman) → review+
Thanks for the review! Landed: https://github.com/mozilla-b2g/gaia/commit/7a49ca75a3571f0d7b04e2ca7d1b24a4c5c0eb16
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: