mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 701563: Break out webapps sqlite overhead from sqlite_other* r=mak
This commit is contained in:
parent
3e0835d415
commit
d75310f638
@ -69,6 +69,7 @@ Histograms gHistograms[] = {
|
||||
SQLITE_TELEMETRY("places.sqlite", PLACES),
|
||||
SQLITE_TELEMETRY("urlclassifier3.sqlite", URLCLASSIFIER),
|
||||
SQLITE_TELEMETRY("cookies.sqlite", COOKIES),
|
||||
SQLITE_TELEMETRY("webappsstore.sqlite", WEBAPPS),
|
||||
SQLITE_TELEMETRY(NULL, OTHER)
|
||||
};
|
||||
#undef SQLITE_TELEMETRY
|
||||
|
@ -184,7 +184,8 @@ HISTOGRAM(CHECK_JAVA_ENABLED, 1, 3000, 10, EXPONENTIAL, "Time spent checking if
|
||||
SQLITE_TIME_SPENT(OTHER_ ## NAME, DESC) \
|
||||
SQLITE_TIME_SPENT(PLACES_ ## NAME, DESC) \
|
||||
SQLITE_TIME_SPENT(COOKIES_ ## NAME, DESC) \
|
||||
SQLITE_TIME_SPENT(URLCLASSIFIER_ ## NAME, DESC)
|
||||
SQLITE_TIME_SPENT(URLCLASSIFIER_ ## NAME, DESC) \
|
||||
SQLITE_TIME_SPENT(WEBAPPS_ ## NAME, DESC)
|
||||
|
||||
SQLITE_TIME_SPENT(OPEN, "Time spent on SQLite open() (ms)")
|
||||
SQLITE_TIME_SPENT(TRUNCATE, "Time spent on SQLite truncate() (ms)")
|
||||
@ -197,9 +198,11 @@ HISTOGRAM(MOZ_SQLITE_OTHER_READ_B, 1, 32768, 3, LINEAR, "SQLite read() (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_PLACES_READ_B, 1, 32768, 3, LINEAR, "SQLite read() (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_COOKIES_READ_B, 1, 32768, 3, LINEAR, "SQLite read() (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_URLCLASSIFIER_READ_B, 1, 32768, 3, LINEAR, "SQLite read() (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_WEBAPPS_READ_B, 1, 32768, 3, LINEAR, "SQLite read() (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_PLACES_WRITE_B, 1, 32768, 3, LINEAR, "SQLite write (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_COOKIES_WRITE_B, 1, 32768, 3, LINEAR, "SQLite write (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_URLCLASSIFIER_WRITE_B, 1, 32768, 3, LINEAR, "SQLite write (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_WEBAPPS_WRITE_B, 1, 32768, 3, LINEAR, "SQLite write (bytes)")
|
||||
HISTOGRAM(MOZ_SQLITE_OTHER_WRITE_B, 1, 32768, 3, LINEAR, "SQLite write (bytes)")
|
||||
HISTOGRAM(MOZ_STORAGE_ASYNC_REQUESTS_MS, 1, 32768, 20, EXPONENTIAL, "mozStorage async requests completion (ms)")
|
||||
HISTOGRAM(MOZ_STORAGE_ASYNC_REQUESTS_SUCCESS, 0, 1, 2, BOOLEAN, "mozStorage async requests success")
|
||||
|
Loading…
Reference in New Issue
Block a user