зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1741190 - Add a profiler preset for necko r=necko-reviewers,kpatenio,dragana,julienw
Differential Revision: https://phabricator.services.mozilla.com/D132380
This commit is contained in:
Родитель
75f644f50a
Коммит
d408e4a4e1
|
@ -215,6 +215,10 @@ profiler-popup-presets-media-description2 = Preset for investigating audio and v
|
|||
profiler-popup-presets-media-label =
|
||||
.label = Media
|
||||
|
||||
profiler-popup-presets-networking-description = Preset for investigating networking bugs in { -brand-shorter-name }.
|
||||
profiler-popup-presets-networking-label =
|
||||
.label = Networking
|
||||
|
||||
profiler-popup-presets-custom-label =
|
||||
.label = Custom
|
||||
|
||||
|
|
|
@ -137,6 +137,9 @@ perftools-presets-graphics-description = Preset for investigating graphics bugs
|
|||
perftools-presets-media-label = Media
|
||||
perftools-presets-media-description2 = Preset for investigating audio and video bugs in { -brand-shorter-name }.
|
||||
|
||||
perftools-presets-networking-label = Networking
|
||||
perftools-presets-networking-description = Preset for investigating networking bugs in { -brand-shorter-name }.
|
||||
|
||||
perftools-presets-custom-label = Custom
|
||||
|
||||
##
|
||||
|
|
|
@ -219,6 +219,33 @@ const presets = {
|
|||
},
|
||||
},
|
||||
},
|
||||
networking: {
|
||||
entries: 128 * 1024 * 1024,
|
||||
interval: 1,
|
||||
features: ["screenshots", "js", "leaf", "stackwalk", "cpu", "java"],
|
||||
threads: [
|
||||
"Compositor",
|
||||
"DNS Resolver",
|
||||
"DOM Worker",
|
||||
"GeckoMain",
|
||||
"Renderer",
|
||||
"Socket Thread",
|
||||
"StreamTrans",
|
||||
"SwComposite",
|
||||
"TRR Background",
|
||||
],
|
||||
duration: 0,
|
||||
l10nIds: {
|
||||
popup: {
|
||||
label: "profiler-popup-presets-networking-label",
|
||||
description: "profiler-popup-presets-networking-description",
|
||||
},
|
||||
devtools: {
|
||||
label: "perftools-presets-networking-label",
|
||||
description: "perftools-presets-networking-description",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -78,7 +78,7 @@ At the end you will be presented with a regression range that includes the commi
|
|||
If you're seeing a performance issue (site is very slow to load, etc) you should consider submitting a performance profile.
|
||||
|
||||
- Activate the profiler at: [https://profiler.firefox.com/](https://profiler.firefox.com/)
|
||||
- Use the `Firefox platform` preset and click `Start Recording`.
|
||||
- Use the `Networking` preset and click `Start Recording`.
|
||||
|
||||
## Crashes
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче