mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 942063 - Telemetry for the size of sessionstore.js. r=smacleod
This commit is contained in:
parent
89617ec3bf
commit
f7a8bd76ff
@ -87,7 +87,8 @@ let Agent = {
|
||||
|
||||
return {
|
||||
result: this.initialState,
|
||||
telemetry: {FX_SESSION_RESTORE_READ_FILE_MS: durationMs}
|
||||
telemetry: {FX_SESSION_RESTORE_READ_FILE_MS: durationMs,
|
||||
FX_SESSION_RESTORE_FILE_SIZE_BYTES: bytes.byteLength}
|
||||
};
|
||||
} catch (ex if isNoSuchFileEx(ex)) {
|
||||
// Ignore exceptions about non-existent files.
|
||||
|
@ -2831,6 +2831,13 @@
|
||||
"extended_statistics_ok": true,
|
||||
"description": "Session restore: Duration of the longest uninterruptible operation while writing session data (ms)"
|
||||
},
|
||||
"FX_SESSION_RESTORE_FILE_SIZE_BYTES": {
|
||||
"kind": "exponential",
|
||||
"high": 50000000,
|
||||
"n_buckets": 30,
|
||||
"extended_statistics_ok": true,
|
||||
"description": "Session restore: The size of file sessionstore.js (bytes)"
|
||||
},
|
||||
"FX_SESSION_RESTORE_CORRUPT_FILE": {
|
||||
"kind": "boolean",
|
||||
"description": "Session restore: Whether the file read on startup contained parse-able JSON"
|
||||
|
Loading…
Reference in New Issue
Block a user