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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js

Issue 2282403006: DevTools: Introduce RunMicrotasks event. (Closed)
Patch Set: update expectations Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineJSProfile.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 TimeStamp: "TimeStamp", 99 TimeStamp: "TimeStamp",
100 ConsoleTime: "ConsoleTime", 100 ConsoleTime: "ConsoleTime",
101 UserTiming: "UserTiming", 101 UserTiming: "UserTiming",
102 102
103 ResourceSendRequest: "ResourceSendRequest", 103 ResourceSendRequest: "ResourceSendRequest",
104 ResourceReceiveResponse: "ResourceReceiveResponse", 104 ResourceReceiveResponse: "ResourceReceiveResponse",
105 ResourceReceivedData: "ResourceReceivedData", 105 ResourceReceivedData: "ResourceReceivedData",
106 ResourceFinish: "ResourceFinish", 106 ResourceFinish: "ResourceFinish",
107 107
108 RunMicrotasks: "RunMicrotasks",
108 FunctionCall: "FunctionCall", 109 FunctionCall: "FunctionCall",
109 GCEvent: "GCEvent", // For backwards compatibility only, now replaced by Min orGC/MajorGC. 110 GCEvent: "GCEvent", // For backwards compatibility only, now replaced by Min orGC/MajorGC.
110 MajorGC: "MajorGC", 111 MajorGC: "MajorGC",
111 MinorGC: "MinorGC", 112 MinorGC: "MinorGC",
112 JSFrame: "JSFrame", 113 JSFrame: "JSFrame",
113 JSSample: "JSSample", 114 JSSample: "JSSample",
114 // V8Sample events are coming from tracing and contain raw stacks with funct ion addresses. 115 // V8Sample events are coming from tracing and contain raw stacks with funct ion addresses.
115 // After being processed with help of JitCodeAdded and JitCodeMoved events t hey 116 // After being processed with help of JitCodeAdded and JitCodeMoved events t hey
116 // get translated into function infos and stored as stacks in JSSample event s. 117 // get translated into function infos and stored as stacks in JSSample event s.
117 V8Sample: "V8Sample", 118 V8Sample: "V8Sample",
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 if (!id) 1779 if (!id)
1779 return; 1780 return;
1780 /** @type {!Map<string, !WebInspector.TracingModel.Event>|undefined} */ 1781 /** @type {!Map<string, !WebInspector.TracingModel.Event>|undefined} */
1781 var initiatorMap = this._initiatorByType.get(initiatorType); 1782 var initiatorMap = this._initiatorByType.get(initiatorType);
1782 if (isInitiator) 1783 if (isInitiator)
1783 initiatorMap.set(id, event); 1784 initiatorMap.set(id, event);
1784 else 1785 else
1785 event.initiator = initiatorMap.get(id) || null; 1786 event.initiator = initiatorMap.get(id) || null;
1786 } 1787 }
1787 } 1788 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineJSProfile.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698