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

Side by Side Diff: tools/turbolizer/constants.js

Issue 2228553004: [turbolizer] Improved display of perf profiling information. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase 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 | « no previous file | tools/turbolizer/disassembly-view.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var MAX_RANK_SENTINEL = 0; 5 var MAX_RANK_SENTINEL = 0;
6 var GRAPH_MARGIN = 250; 6 var GRAPH_MARGIN = 250;
7 var WIDTH = 'width'; 7 var WIDTH = 'width';
8 var HEIGHT = 'height'; 8 var HEIGHT = 'height';
9 var VISIBILITY = 'visibility'; 9 var VISIBILITY = 'visibility';
10 var SOURCE_PANE_ID = 'left'; 10 var SOURCE_PANE_ID = 'left';
11 var SOURCE_COLLAPSE_ID = 'source-shrink'; 11 var SOURCE_COLLAPSE_ID = 'source-shrink';
12 var SOURCE_EXPAND_ID = 'source-expand'; 12 var SOURCE_EXPAND_ID = 'source-expand';
13 var INTERMEDIATE_PANE_ID = 'middle'; 13 var INTERMEDIATE_PANE_ID = 'middle';
14 var EMPTY_PANE_ID = 'empty'; 14 var EMPTY_PANE_ID = 'empty';
15 var GRAPH_PANE_ID = 'graph'; 15 var GRAPH_PANE_ID = 'graph';
16 var SCHEDULE_PANE_ID = 'schedule'; 16 var SCHEDULE_PANE_ID = 'schedule';
17 var GENERATED_PANE_ID = 'right'; 17 var GENERATED_PANE_ID = 'right';
18 var DISASSEMBLY_PANE_ID = 'disassembly'; 18 var DISASSEMBLY_PANE_ID = 'disassembly';
19 var DISASSEMBLY_COLLAPSE_ID = 'disassembly-shrink'; 19 var DISASSEMBLY_COLLAPSE_ID = 'disassembly-shrink';
20 var DISASSEMBLY_EXPAND_ID = 'disassembly-expand'; 20 var DISASSEMBLY_EXPAND_ID = 'disassembly-expand';
21 var COLLAPSE_PANE_BUTTON_VISIBLE = 'button-input'; 21 var COLLAPSE_PANE_BUTTON_VISIBLE = 'button-input';
22 var COLLAPSE_PANE_BUTTON_INVISIBLE = 'button-input-invisible'; 22 var COLLAPSE_PANE_BUTTON_INVISIBLE = 'button-input-invisible';
23 var PROF_HIGH = 5; 23 var UNICODE_BLOCK = '▋';
24 var PROF_MED = 0.5; 24 var PROF_COLS = [
25 { perc: 0, col: { r: 255, g: 255, b: 255 } },
26 { perc: 0.5, col: { r: 255, g: 255, b: 128 } },
27 { perc: 5, col: { r: 255, g: 128, b: 0 } },
28 { perc: 15, col: { r: 255, g: 0, b: 0 } },
29 { perc: 100, col: { r: 0, g: 0, b: 0 } }
30 ];
OLDNEW
« no previous file with comments | « no previous file | tools/turbolizer/disassembly-view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698