forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DevTools: Relax Performance.metrics test requirements.
Only check that essential metrics are there. Change-Id: Ie078c476fa66328aa51e255b84ea18c07e24ef90 Reviewed-on: https://chromium-review.googlesource.com/1080045 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#563433}
- Loading branch information
Showing
2 changed files
with
56 additions
and
73 deletions.
There are no files selected for viewing
88 changes: 23 additions & 65 deletions
88
third_party/WebKit/LayoutTests/inspector-protocol/performance/perf-metrics-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,24 @@ | ||
Test that page performance metrics are retrieved. | ||
Received metrics: | ||
Received metrics: | ||
Timestamp | ||
AudioHandlers | ||
Documents | ||
Frames | ||
JSEventListeners | ||
LayoutObjects | ||
MediaKeySessions | ||
MediaKeys | ||
Nodes | ||
Resources | ||
ScriptPromises | ||
PausableObjects | ||
V8PerContextDatas | ||
WorkerGlobalScopes | ||
UACSSResources | ||
RTCPeerConnections | ||
ResourceFetchers | ||
AdSubframes | ||
DetachedScriptStates | ||
LayoutCount | ||
RecalcStyleCount | ||
LayoutDuration | ||
RecalcStyleDuration | ||
ScriptDuration | ||
TaskDuration | ||
JSHeapUsedSize | ||
JSHeapTotalSize | ||
FirstMeaningfulPaint | ||
DomContentLoaded | ||
NavigationStart | ||
Received metrics: | ||
Timestamp | ||
AudioHandlers | ||
Documents | ||
Frames | ||
JSEventListeners | ||
LayoutObjects | ||
MediaKeySessions | ||
MediaKeys | ||
Nodes | ||
Resources | ||
ScriptPromises | ||
PausableObjects | ||
V8PerContextDatas | ||
WorkerGlobalScopes | ||
UACSSResources | ||
RTCPeerConnections | ||
ResourceFetchers | ||
AdSubframes | ||
DetachedScriptStates | ||
LayoutCount | ||
RecalcStyleCount | ||
LayoutDuration | ||
RecalcStyleDuration | ||
ScriptDuration | ||
TaskDuration | ||
JSHeapUsedSize | ||
JSHeapTotalSize | ||
FirstMeaningfulPaint | ||
DomContentLoaded | ||
NavigationStart | ||
Received metrics: | ||
Test that page performance metrics are retrieved and the list is stable. | ||
DO NOT modify the list, it's exposed over public protocol. | ||
|
||
Metrics: | ||
|
||
|
||
Metrics: | ||
Documents | ||
Frames | ||
JSEventListeners | ||
JSHeapTotalSize | ||
JSHeapUsedSize | ||
LayoutCount | ||
LayoutDuration | ||
Nodes | ||
RecalcStyleCount | ||
RecalcStyleDuration | ||
ScriptDuration | ||
TaskDuration | ||
Timestamp | ||
|
||
Metrics: | ||
|
||
|
41 changes: 33 additions & 8 deletions
41
third_party/WebKit/LayoutTests/inspector-protocol/performance/perf-metrics.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters