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

Side by Side Diff: Source/devtools/protocol.json

Issue 121223003: DevTools: Move usedHeapSize from TimelineEvent into counters. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 12 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/TimelinePresentationModel.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 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 2840 matching lines...) Expand 10 before | Expand all | Expand 10 after
2851 { 2851 {
2852 "domain": "Timeline", 2852 "domain": "Timeline",
2853 "description": "Timeline provides its clients with instrumentation recor ds that are generated during the page runtime. Timeline instrumentation can be s tarted and stopped using corresponding commands. While timeline is started, it i s generating timeline event records.", 2853 "description": "Timeline provides its clients with instrumentation recor ds that are generated during the page runtime. Timeline instrumentation can be s tarted and stopped using corresponding commands. While timeline is started, it i s generating timeline event records.",
2854 "types": [ 2854 "types": [
2855 { 2855 {
2856 "id": "Counters", 2856 "id": "Counters",
2857 "type": "object", 2857 "type": "object",
2858 "properties": [ 2858 "properties": [
2859 { "name": "documents", "type": "integer", "optional": true } , 2859 { "name": "documents", "type": "integer", "optional": true } ,
2860 { "name": "nodes", "type": "integer", "optional": true }, 2860 { "name": "nodes", "type": "integer", "optional": true },
2861 { "name": "jsEventListeners", "type": "integer", "optional": true } 2861 { "name": "jsEventListeners", "type": "integer", "optional": true },
2862 { "name": "jsHeapSizeUsed", "type": "number", "optional": tr ue, "description": "Currently used size of JS heap." }
2862 ], 2863 ],
2863 "description": "Current values of counters.", 2864 "description": "Current values of counters.",
2864 "hidden": true 2865 "hidden": true
2865 }, 2866 },
2866 { 2867 {
2867 "id": "TimelineEvent", 2868 "id": "TimelineEvent",
2868 "type": "object", 2869 "type": "object",
2869 "properties": [ 2870 "properties": [
2870 { "name": "type", "type": "string", "description": "Event ty pe." }, 2871 { "name": "type", "type": "string", "description": "Event ty pe." },
2871 { "name": "data", "type": "object", "description": "Event da ta." }, 2872 { "name": "data", "type": "object", "description": "Event da ta." },
2872 { "name": "startTime", "type": "number", "description": "Sta rt time." }, 2873 { "name": "startTime", "type": "number", "description": "Sta rt time." },
2873 { "name": "endTime", "type": "number", "optional": true, "de scription": "End time." }, 2874 { "name": "endTime", "type": "number", "optional": true, "de scription": "End time." },
2874 { "name": "children", "type": "array", "optional": true, "it ems": { "$ref": "TimelineEvent" }, "description": "Nested records." }, 2875 { "name": "children", "type": "array", "optional": true, "it ems": { "$ref": "TimelineEvent" }, "description": "Nested records." },
2875 { "name": "thread", "type": "string", "optional": true, "hid den": true, "description": "If present, identifies the thread that produced the event." }, 2876 { "name": "thread", "type": "string", "optional": true, "hid den": true, "description": "If present, identifies the thread that produced the event." },
2876 { "name": "counters", "$ref": "Counters", "optional": true, "hidden": true, "description": "Current values of counters." }, 2877 { "name": "counters", "$ref": "Counters", "optional": true, "hidden": true, "description": "Current values of counters." },
2877 { "name": "stackTrace", "$ref": "Console.StackTrace", "optio nal": true, "hidden": true, "description": "Stack trace." }, 2878 { "name": "stackTrace", "$ref": "Console.StackTrace", "optio nal": true, "hidden": true, "description": "Stack trace." },
2878 { "name": "frameId", "type": "string", "optional": true, "hi dden": true, "description": "Unique identifier of the frame within the page that the event relates to." }, 2879 { "name": "frameId", "type": "string", "optional": true, "hi dden": true, "description": "Unique identifier of the frame within the page that the event relates to." },
2879 { "name": "usedHeapSize", "type": "integer", "optional": tru e, "hidden": true, "description": "Current size of JS heap." },
2880 { "name": "usedHeapSizeDelta", "type": "integer", "optional" : true, "hidden": true, "description": "JS heap size change." } 2880 { "name": "usedHeapSizeDelta", "type": "integer", "optional" : true, "hidden": true, "description": "JS heap size change." }
2881 ], 2881 ],
2882 "description": "Timeline record contains information about the r ecorded activity." 2882 "description": "Timeline record contains information about the r ecorded activity."
2883 } 2883 }
2884 ], 2884 ],
2885 "commands": [ 2885 "commands": [
2886 { 2886 {
2887 "name": "enable", 2887 "name": "enable",
2888 "description": "Enables timeline. After this call, timeline can be started from within the page (for example upon console.timeline)." 2888 "description": "Enables timeline. After this call, timeline can be started from within the page (for example upon console.timeline)."
2889 }, 2889 },
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
4123 ], 4123 ],
4124 "handlers": ["browser", "frontend"] 4124 "handlers": ["browser", "frontend"]
4125 }, 4125 },
4126 { 4126 {
4127 "name": "tracingComplete", 4127 "name": "tracingComplete",
4128 "handlers": ["browser", "frontend"] 4128 "handlers": ["browser", "frontend"]
4129 } 4129 }
4130 ] 4130 ]
4131 }] 4131 }]
4132 } 4132 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TimelinePresentationModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698