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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js-samping-tracing.html

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/tracing/timeline-js-samping-tracing.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js-samping-tracing.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js-samping-tracing.html
deleted file mode 100644
index 68c403c5d69898c91a0aaed1151a01bc3cf98782..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js-samping-tracing.html
+++ /dev/null
@@ -1,479 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/timeline-test.js"></script>
-<script>
-function test()
-{
- var sessionId = "6.23";
- var rawTraceEvents = [
- {
- "args": {
- "name": "Renderer"
- },
- "cat": "__metadata",
- "name": "process_name",
- "ph": "M",
- "pid": 17851,
- "tid": 23,
- "ts": 0
- },
- {
- "args": {
- "name": "CrRendererMain"
- },
- "cat": "__metadata",
- "name": "thread_name",
- "ph": "M",
- "pid": 17851,
- "tid": 23,
- "ts": 0
- },
- {
- "args": {
- "sessionId": sessionId
- },
- "cat": "disabled-by-default-devtools.timeline",
- "name": "TracingStartedInPage",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 100000,
- "tts": 606543
- },
- {
- "args": {
- "data": {
- "code_start": "0xa000",
- "code_len": 100,
- "name": "LazyCompile:~a file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0xb000",
- "code_len": 100,
- "name": "LazyCompile:~b file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0xc000",
- "code_len": 100,
- "name": "LazyCompile:~c file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0xd000",
- "code_len": 100,
- "name": "LazyCompile:~d file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0x1e000",
- "code_len": 100,
- "name": "LazyCompile:~e file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0x1e000",
- "new_code_start": "0xe000",
- "code_len": 100
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeMoved",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0xf000",
- "code_len": 100,
- "name": "LazyCompile:~f file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0xf200",
- "code_len": 100,
- "name": "LazyCompile:*f file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0x8000",
- "code_len": 100,
- "name": "LazyCompile:~g file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {
- "data": {
- "code_start": "0x1000",
- "code_len": 100,
- "name": "LazyCompile:~l file:///script1.js:12",
- "script_id": 1
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "JitCodeAdded",
- "ph": "I",
- "pid": 17851,
- "tid": 23,
- "ts": 190000,
- "tts": 5610000
- },
- {
- "args": {},
- "cat": "disabled-by-default-devtools.timeline",
- "name": "Program",
- "ph": "B",
- "pid": 17851,
- "tid": 23,
- "ts": 200000,
- "tts": 5612442
- },
- {
- "args": {
- "data": {
- "stack": [
- "0xc000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 208000,
- "tts": 1758056
- },
- {
- "args": {},
- "cat": "disabled-by-default-devtools.timeline",
- "name": "FunctionCall",
- "ph": "X",
- "pid": 17851,
- "tid": 23,
- "ts": 210000,
- "dur": 30000,
- "tts": 5612442
- },
- {
- "args": {
- "data": {
- "stack": [
- "0xc000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 211000,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": []
- }
- },
- "cat": "disabled-by-default-devtools.timeline",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 212000,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0xc000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 220000,
- "tts": 1758056
- },
- {
- "args": {
- "frame": "0x2f7b63884000",
- "data": {
- "stackTrace": [
- { "functionName": "b", "callUID": "b", "scriptId": "1" },
- { "functionName": "a", "callUID": "a", "scriptId": "1" }
- ]
- }
- },
- "cat": "disabled-by-default-devtools.timeline",
- "name": "InvalidateLayout",
- "ph": "X",
- "pid": 17851,
- "tid": 23,
- "ts": 221000,
- "dur": 7000,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0xc000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 221125,
- "tts": 1758056
- },
- {
- "args": {
- "frame": "0x2f7b63884000",
- "data": {
- "stackTrace": [
- { "functionName": "e", "callUID": "e", "scriptId": "1" },
- { "functionName": "d", "callUID": "d", "scriptId": "1" },
- { "functionName": "b", "callUID": "b", "scriptId": "1" },
- { "functionName": "a", "callUID": "a", "scriptId": "1" }
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "InvalidateLayout",
- "ph": "X",
- "pid": 17851,
- "tid": 23,
- "ts": 222000,
- "dur": 3000,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0x8000",
- "0xf000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 225500,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0x8000",
- "0xe000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 228125,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0x8000",
- "0xe000",
- "0xb000",
- "0xa000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 228250,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0xa000",
- "0x1000",
- "0xf000"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 230000,
- "tts": 1758056
- },
- {
- "args": {
- "data": {
- "stack": [
- "0xa000",
- "0x1000",
- "0xf210"
- ]
- }
- },
- "cat": "disabled-by-default-v8.cpu_profile",
- "name": "V8Sample",
- "ph": "P",
- "pid": 17851,
- "tid": 23,
- "ts": 230125,
- "tts": 1758056
- },
- {
- "args": {},
- "cat": "disabled-by-default-devtools.timeline",
- "name": "Program",
- "ph": "E",
- "pid": 17851,
- "tid": 23,
- "ts": 500000,
- "tts": 5612506
- }
- ];
-
- Runtime.experiments.enableForTest("timelineTracingJSProfile");
- var tracingTimelineModel = InspectorTest.createTimelineModelWithEvents(rawTraceEvents);
- var events = tracingTimelineModel.mainThreadEvents();
- events.filter(function(e) { return e.name === "JSFrame"; }).forEach(function(e) {
- InspectorTest.addResult(e.name + ": " + e.startTime.toFixed(3) + " / " + (e.duration.toFixed(3) || 0) + " " + e.args.data.functionName);
- });
-
- InspectorTest.completeTest();
-}
-
-</script>
-</head>
-<body onload="runTest()">
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698