gecko-dev/dom/quota/test
Jan Varga 7d0fd78cda Bug 1722668 - Speed up temporary storage initialization by archiving unaccessed origin directories; r=jari
This patch introduces a new notion of unaccessed origins. An origin is
considered as unaccessed if its age is older than a threshold (controlled by a
new preference, currently set to 13 months). Unaccessed origins are collected
during quota info loading.
When quota info loading is finished we check if it took a long time (controlled
by a new preference, currently set to 21s) and eventually archive unaccessed
origins which should speed up temporary storage initialization in a new
session.
Archiving consits of creating a new directory (archive) under storage/archives/0
directory (the name is based on the current date) and moving unaccessed origin
directories to the archive.
Once the patch lands, we will be monitoring QM_QUOTA_INFO_LOAD_TIME_V0
telemetry (quota info load time) and eventually lower down the preference for
long quota info load time.
If there are no issues, the archiving will be replaced with a hard removal of
unaccessed origins and also of the archives which were created in the meantime.

Differential Revision: https://phabricator.services.mozilla.com/D123049
2021-09-04 21:54:53 +00:00
..
browser Bug 1695084 - Update persistent storage permission prompt. r=mconley,flod 2021-03-04 21:59:23 +00:00
common Bug 1722668 - Speed up temporary storage initialization by archiving unaccessed origin directories; r=jari 2021-09-04 21:54:53 +00:00
gtest Bug 1724897 - QM: Introduce QM_TO_RESULT sub-macro; r=jari 2021-08-10 13:59:05 +00:00
mochitest Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin 2020-06-22 19:09:49 +00:00
xpcshell Bug 1722668 - Speed up temporary storage initialization by archiving unaccessed origin directories; r=jari 2021-09-04 21:54:53 +00:00
moz.build Bug 1702422 - Move tests intended for quota info caching into a standalone directory; r=dom-storage-reviewers,asuth 2021-04-27 07:12:22 +00:00