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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html

Issue 2244783004: DevTools: Refactor Profiler domain interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html
index c59386552687a2bc9a4dd556d4476039dcd17458..c15ec7364a3e7eafe0573d115ed75365730d6ddf 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html
@@ -12,18 +12,21 @@ function test()
return WebInspector.targetManager.targets()[0];
},
"_profile": {
- "head": {
- "callFrame":
+ "nodes": [
{
- "functionName": "(root)",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 0
+ "id": 0,
+ "callFrame":
+ {
+ "functionName": "(root)",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 0
+ },
+ "hitCount": 350,
+ "children": [1, 2, 5]
},
- "hitCount": 350,
- "callUID": 1000,
- "children": [
{
+ "id": 1,
"callFrame":
{
"functionName": "(idle)",
@@ -32,10 +35,10 @@ function test()
"lineNumber": 1
},
"hitCount": 1000,
- "callUID": 2,
"children": []
},
{
+ "id": 2,
"callFrame":
{
"functionName": "A",
@@ -44,36 +47,34 @@ function test()
"lineNumber": 4642
},
"hitCount": 250,
- "callUID": 1001,
- "children": [
+ "children": [3]
+ },
+ {
+ "id": 3,
+ "callFrame":
{
- "callFrame":
- {
- "functionName": "C",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 525
- },
- "hitCount": 100,
- "callUID": 2000,
- "children": [
- {
- "callFrame":
- {
- "functionName": "D",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 425
- },
- "hitCount": 20,
- "callUID": 3000,
- "children": []
- }
- ]
- }
- ]
+ "functionName": "C",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 525
+ },
+ "hitCount": 100,
+ "children": [4]
},
{
+ "id": 4,
+ "callFrame":
+ {
+ "functionName": "D",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 425
+ },
+ "hitCount": 20,
+ "children": []
+ },
+ {
+ "id": 5,
"callFrame":
{
"functionName": "B",
@@ -82,37 +83,33 @@ function test()
"lineNumber": 4662
},
"hitCount": 150,
- "callUID": 1002,
- "children": [
+ "children": [6]
+ },
+ {
+ "id": 6,
+ "callFrame":
+ {
+ "functionName": "C",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 525
+ },
+ "hitCount": 100,
+ "children": [7]
+ },
+ {
+ "id": 7,
+ "callFrame":
{
- "callFrame":
- {
- "functionName": "C",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 525
- },
- "hitCount": 100,
- "callUID": 2000,
- "children": [
- {
- "callFrame":
- {
- "functionName": "D",
- "scriptId": "0",
- "url": "a.js",
- "lineNumber": 425
- },
- "hitCount": 30,
- "callUID": 3000,
- "children": []
- }
- ]
- }
- ]
+ "functionName": "D",
+ "scriptId": "0",
+ "url": "a.js",
+ "lineNumber": 425
+ },
+ "hitCount": 30,
+ "children": []
}
- ]
- },
+ ],
"startTime": 0,
"endTime": 1.000
}

Powered by Google App Engine
This is Rietveld 408576698