Schema:ModuleStorage

Revision 6978194
description"A record of ResourceLoader performance, collected as part of the mw.loader.store performance evaluation."
properties
experimentGroup
description"Group assignment: either 1 (control) or 2 (experiment)."
requiredtrue
enum
1
2
type"integer"
experimentId
description"A random string that is generated on group assignment and logged with every subsequent event."
requiredtrue
type"string"
loadIndex
description"Load index (completed page loads since bucketing)"
requiredtrue
type"integer"
loadedModulesCount
description"The number of loaded ResourceLoader modules on the current page."
requiredtrue
type"integer"
loadedModulesSize
description"Total size (in bytes) of loaded ResourceLoader modules on the current page,"
requiredtrue
type"integer"
moduleStoreEnabled
description"Whether the module store was enabled. Expected to be true for users in experiment group and false for control."
requiredtrue
type"boolean"
moduleStoreHits
description"Number of modules that were loaded from localStorage, or unset if module storage not enabled."
type"integer"
moduleStoreMisses
description"Number of modules that were looked up in localStorage but were not available. Unset if module storage is not enabled."
type"integer"
moduleStoreExpired
description"Number of modules that had to be evicted from the cache, or unset if module storage is not enabled."
type"integer"
moduleLoadingTime
description"Number of milliseconds between ResourceLoader initialization and the start of the window load event."
requiredtrue
type"integer"
totalLoadingTime
description"Number of milliseconds between JavaScript initialization and the start of the window load event."
requiredtrue
type"integer"
mobileMode
description"If in mobile view, specifies the mobile mode. Absent otherwise."
enum
"alpha"
"beta"
"stable"
type"string"
userAgent
description"Browser's user-agent string."
requiredtrue
type"string"