Closed Bug 838219 Opened 12 years ago Closed 10 years ago

replace mediadb for faster gallery startup

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g18 affected, b2g18-v1.0.1 affected)

RESOLVED INVALID
blocking-b2g -
Tracking Status
b2g18 --- affected
b2g18-v1.0.1 --- affected

People

(Reporter: djf, Assigned: djf)

References

Details

(Whiteboard: [LOE:M])

MediaDB isn't designed to allow DB queries to begin before DOMContentLoaded. This bug is about rewriting mediadb to improve gallery startup speed.
Linking this bug to the metabug 817113 and taking it. I don't have a gallery perf bug that is tef+, but I'm told that I should. 817113 is a metabug so we haven't blocked on that, so let's block on this.
Assignee: nobody → dflanagan
Blocks: 817113
blocking-b2g: --- → tef?
tef+ to clear the way for gallery work.
blocking-b2g: tef? → tef+
I've been working on this for a few days now and it seems to be yielding promising speedups in startup time, though scanning speed remains about the same. I think I can have something ready by 2/12. But it will be a pretty huge patch that will need careful review and testing, so we should probably consider this one at-risk.
Whiteboard: [LOE:M]
This is not going to be ready to land by 2/12.
After discussing this bug with Dylan and Fabrice, I've changed the tef+ flag to leo? I am hopeful that the changes in bug 838223 will improve startup time enough to satisfy our partners, and Ben is alerting them to that bug.
blocking-b2g: tef+ → leo?
I case anyone is interested (and so I don't forget it myself) my work-in-progress on this bug is here: https://github.com/davidflanagan/gaia/tree/galleryflatfile
Not blocking on this - we need to know more about the size of the win and the cost of the change. David, are you still pursuing this approach to improving Gallery startup time long-term?
blocking-b2g: leo? → -
I'm not actively pursuing this anymore. It could be that we could gain some speed here, but it seems silly to bet against indexeddb. The gallery app is a lot faster than it was when I opened this bug. I'm going to leave it open as an idea to experiment with, but it is not in any way a blocker.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.