Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-streamed-cpu-profile.html

Issue 2434813003: DevTools: Support reading updated version of CPU profile. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-streamed-cpu-profile.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-streamed-cpu-profile.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-streamed-cpu-profile.html
index bb79434ccbb70acf614b33519062cb7a42cc0ba0..2f64c897378a1416a1d73d84790782412c1e966f 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-streamed-cpu-profile.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-streamed-cpu-profile.html
@@ -65,7 +65,7 @@ function test()
},
{
"cat": "disabled-by-default-v8.cpu_profile2",
- "name": "CpuProfile",
+ "name": "Profile",
"ph": "P",
"id": "0xa1f",
"pid": 17851,
@@ -75,29 +75,31 @@ function test()
"args": {
"data": {
"startTime": 110000,
- "nodes": [{
- "callFrame": {
- "functionName": "(root)",
- "scriptId": 0
- },
- "id": 1
- }, {
- "callFrame": {
- "columnNumber": 26,
- "functionName": "foo",
- "lineNumber": 1306,
- "scriptId": 260,
- "url": "http://example.com/www-embed-player.js"
- },
- "id": 2,
- "parent": 1
- }]
+ "cpuProfile": {
+ "nodes": [{
+ "callFrame": {
+ "functionName": "(root)",
+ "scriptId": 0
+ },
+ "id": 1
+ }, {
+ "callFrame": {
+ "columnNumber": 26,
+ "functionName": "foo",
+ "lineNumber": 1306,
+ "scriptId": 260,
+ "url": "http://example.com/www-embed-player.js"
+ },
+ "id": 2,
+ "parent": 1
+ }]
+ }
}
},
},
{
"cat": "disabled-by-default-v8.cpu_profile2",
- "name": "CpuProfileChunk",
+ "name": "ProfileChunk",
"ph": "P",
"id": "0xa1f",
"pid": 17851,
@@ -106,14 +108,16 @@ function test()
"tts": 5620000,
"args": {
"data": {
- "samples": [2, 2, 2],
+ "cpuProfile": {
+ "samples": [2, 2, 2]
+ },
"timeDeltas": [1000, 1500, 1000]
}
}
},
{
"cat": "disabled-by-default-v8.cpu_profile2",
- "name": "CpuProfileChunk",
+ "name": "ProfileChunk",
"ph": "P",
"id": "0xa1f",
"pid": 17851,
@@ -122,25 +126,27 @@ function test()
"tts": 5630000,
"args": {
"data": {
- "nodes": [{
- "callFrame": {
- "columnNumber": 2,
- "functionName": "bar",
- "lineNumber": 1400,
- "scriptId": 260,
- "url": "http://example.com/www-embed-player.js"
- },
- "id": 3,
- "parent": 2
- }],
- "samples": [2, 3, 3, 3, 2, 1],
+ "cpuProfile": {
+ "nodes": [{
+ "callFrame": {
+ "columnNumber": 2,
+ "functionName": "bar",
+ "lineNumber": 1400,
+ "scriptId": 260,
+ "url": "http://example.com/www-embed-player.js"
+ },
+ "id": 3,
+ "parent": 2
+ }],
+ "samples": [2, 3, 3, 3, 2, 1]
+ },
"timeDeltas": [500, 500, 1000, 500, 1000, 500]
}
}
},
{
"cat": "disabled-by-default-v8.cpu_profile2",
- "name": "CpuProfileChunk",
+ "name": "ProfileChunk",
"ph": "P",
"id": "0xa1f",
"pid": 17851,
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698