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

Side by Side Diff: tools/profviz/composer.js

Issue 345543002: IC misses should not count towards execution pauses in plots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « no previous file | 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 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 new TimerEvent("external", "#3399FF", false, 0), 100 new TimerEvent("external", "#3399FF", false, 0),
101 'V8.CompileFullCode': 101 'V8.CompileFullCode':
102 new TimerEvent("compile unopt", "#CC0000", true, 0), 102 new TimerEvent("compile unopt", "#CC0000", true, 0),
103 'V8.RecompileSynchronous': 103 'V8.RecompileSynchronous':
104 new TimerEvent("recompile sync", "#CC0044", true, 0), 104 new TimerEvent("recompile sync", "#CC0044", true, 0),
105 'V8.RecompileConcurrent': 105 'V8.RecompileConcurrent':
106 new TimerEvent("recompile async", "#CC4499", false, 1), 106 new TimerEvent("recompile async", "#CC4499", false, 1),
107 'V8.CompileEval': 107 'V8.CompileEval':
108 new TimerEvent("compile eval", "#CC4400", true, 0), 108 new TimerEvent("compile eval", "#CC4400", true, 0),
109 'V8.IcMiss': 109 'V8.IcMiss':
110 new TimerEvent("ic miss", "#CC9900", true, 0), 110 new TimerEvent("ic miss", "#CC9900", false, 0),
111 'V8.Parse': 111 'V8.Parse':
112 new TimerEvent("parse", "#00CC00", true, 0), 112 new TimerEvent("parse", "#00CC00", true, 0),
113 'V8.PreParse': 113 'V8.PreParse':
114 new TimerEvent("preparse", "#44CC00", true, 0), 114 new TimerEvent("preparse", "#44CC00", true, 0),
115 'V8.ParseLazy': 115 'V8.ParseLazy':
116 new TimerEvent("lazy parse", "#00CC44", true, 0), 116 new TimerEvent("lazy parse", "#00CC44", true, 0),
117 'V8.GCScavenger': 117 'V8.GCScavenger':
118 new TimerEvent("gc scavenge", "#0044CC", true, 0), 118 new TimerEvent("gc scavenge", "#0044CC", true, 0),
119 'V8.GCCompactor': 119 'V8.GCCompactor':
120 new TimerEvent("gc compaction", "#4444CC", true, 0), 120 new TimerEvent("gc compaction", "#4444CC", true, 0),
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 output("plot '-' using 1:2 axes x1y2 with impulses ls 1"); 542 output("plot '-' using 1:2 axes x1y2 with impulses ls 1");
543 for (var i = 0; i < execution_pauses.length; i++) { 543 for (var i = 0; i < execution_pauses.length; i++) {
544 var pause = execution_pauses[i]; 544 var pause = execution_pauses[i];
545 output(pause.end + " " + pause.duration()); 545 output(pause.end + " " + pause.duration());
546 obj_index++; 546 obj_index++;
547 } 547 }
548 output("e"); 548 output("e");
549 return obj_index; 549 return obj_index;
550 }; 550 };
551 } 551 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698