Unpack webappsstore.sqlite and chromeappsstore.sqlite from omni.jar when profile is created

NEW
Unassigned

Status

()

Core
DOM
6 years ago
2 years ago

People

(Reporter: vladan, Unassigned)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 571804 [details] [diff] [review]
Code for unpacking the DBs when profile is created

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 the webappstore and chromeappsstore DBs from omni.jar when the database doesn't exist. The extracted DBs contain the DB schema but no rows. If extraction fails for whatever reason, the DB is created from scratch as before.
(Reporter)

Updated

6 years ago
Attachment #571804 - Attachment is patch: true
(Reporter)

Updated

6 years ago
Blocks: 691268
Keywords: perf
(Reporter)

Updated

6 years ago
Assignee: nobody → vdjeric
(Reporter)

Updated

6 years ago
Attachment #571804 - Flags: review?(dom_bug_listener)
(Reporter)

Updated

5 years ago
Attachment #571804 - Flags: review?(dom_bug_listener)
(Reporter)

Updated

2 years ago
Assignee: vladan.bugzilla → nobody
You need to log in before you can comment on or make changes to this bug.