gecko-dev/modules/libpref
Nicholas Nethercote 4eee1598f7 Bug 1426270 - Add telemetry for prefs loading. r=glandium.
This patch introduces three keyed histograms:

- PREFERENCES_FILE_LOAD_SIZE_B
- PREFERENCES_FILE_LOAD_NUM_PREFS
- PREFERENCES_FILE_LOAD_TIME_US

They are all keyed on the prefs file's name; in my local Linux64 build there
are 13 such files.

Because prefs start up earlier than telemetry, we have to save the measurements
and then pass them to telemetry later.

MozReview-Commit-ID: H6KD7oeK8O0

--HG--
extra : rebase_source : b89c34270b07186b0ccc71bd41c70d81b2c6a334
2017-12-21 16:36:16 +11:00
..
init Bug 1413546 - Add pref to allow retained display lists within the parent process. r=jet 2017-12-22 11:45:32 +13:00
test Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Preferences.cpp Bug 1426270 - Add telemetry for prefs loading. r=glandium. 2017-12-21 16:36:16 +11:00
Preferences.h Bug 1421541 - Overhaul the prefs phase code. r=glandium 2017-11-30 09:14:32 +11:00
greprefs.js Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen 2017-11-28 11:38:15 +01:00
moz.build Bug 1407112 (part 4) - Merge prefapi.{cpp,h} and prefapi_private_data.h into Preferences.cpp. r=glandium. 2017-10-11 21:02:03 +11:00
nsIPrefBranch.idl Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian. 2017-11-10 09:07:48 +11:00
nsIPrefLocalizedString.idl Bug 1409635 (part 2) - Fix up nsIPrefLocalizedString. r=froydnj. 2017-10-18 16:51:56 +11:00
nsIPrefService.idl Bug 1413413 (part 2) - Remove support for extensions having their own prefs file. r=glandium,kmag. 2017-10-31 16:34:57 +11:00
nsIRelativeFilePref.idl