Closed
Bug 699622
Opened 13 years ago
Closed 10 years ago
Unpack extensions.sqlite from omni.jar when profile is created
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: vladan, Assigned: vladan)
References
Details
(Keywords: perf)
Attachments
(1 file)
3.87 KB,
patch
|
Details | Diff | Splinter Review |
To improve first run performance, we will be unpacking pre-created SQLite databases from omni.jar on profile initialization (see bug 691268). This change extracts formhistory.sqlite from omni.jar when the database doesn't exist. The extracted DB contains the DB schema but no rows. If extraction fails for whatever reason, an error is logged and the DB is created from scratch as before.
Assignee | ||
Updated•13 years ago
|
Attachment #571816 -
Attachment is patch: true
Comment 1•13 years ago
|
||
For mobile we don't create extensions.sqlite on startup so this will degrade Ts there
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vdjeric
Assignee | ||
Updated•13 years ago
|
Attachment #571816 -
Flags: review?(dtownsend)
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #1) > For mobile we don't create extensions.sqlite on startup so this will degrade > Ts there But then XPIDatabase.openConnection() would never be called on mobile so we would never extract the DB from omni.jar. It's on the same path as DB creation.
Comment 3•13 years ago
|
||
Comment on attachment 571816 [details] [diff] [review] Code for unpacking the DB when profile is created With all the changes lately we'll need a new patch here. I'd really like to see a conclusion in bug 699615 first though.
Attachment #571816 -
Flags: review?(dtownsend)
Comment 4•10 years ago
|
||
this db doesn't exist anymore
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•