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 3// found in the LICENSE file. 4 5export const MAX_RANK_SENTINEL = 0; 6export const GRAPH_MARGIN = 250; 7export const SOURCE_PANE_ID = 'left'; 8export const SOURCE_COLLAPSE_ID = 'source-shrink'; 9export const SOURCE_EXPAND_ID = 'source-expand'; 10export const INTERMEDIATE_PANE_ID = 'middle'; 11export const GRAPH_PANE_ID = 'graph'; 12export const SCHEDULE_PANE_ID = 'schedule'; 13export const GENERATED_PANE_ID = 'right'; 14export const DISASSEMBLY_PANE_ID = 'disassembly'; 15export const DISASSEMBLY_COLLAPSE_ID = 'disassembly-shrink'; 16export const DISASSEMBLY_EXPAND_ID = 'disassembly-expand'; 17export const COLLAPSE_PANE_BUTTON_VISIBLE = 'button-input'; 18export const COLLAPSE_PANE_BUTTON_INVISIBLE = 'button-input-invisible'; 19export const UNICODE_BLOCK = '▋'; 20export const PROF_COLS = [ 21 { perc: 0, col: { r: 255, g: 255, b: 255 } }, 22 { perc: 0.5, col: { r: 255, g: 255, b: 128 } }, 23 { perc: 5, col: { r: 255, g: 128, b: 0 } }, 24 { perc: 15, col: { r: 255, g: 0, b: 0 } }, 25 { perc: 100, col: { r: 0, g: 0, b: 0 } } 26]; 27