MCPcopy Create free account
hub / github.com/nodejs/node / constructor

Method constructor

deps/v8/tools/system-analyzer/index.mjs:23–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 _navigation;
22 _startupPromise;
23 constructor() {
24 this._view = {
25 __proto__: null,
26 logFileReader: $('#log-file-reader'),
27
28 timelinePanel: $('#timeline-panel'),
29 tickTrack: $('#tick-track'),
30 mapTrack: $('#map-track'),
31 icTrack: $('#ic-track'),
32 deoptTrack: $('#deopt-track'),
33 codeTrack: $('#code-track'),
34 timerTrack: $('#timer-track'),
35
36 icList: $('#ic-list'),
37 mapList: $('#map-list'),
38 codeList: $('#code-list'),
39 deoptList: $('#deopt-list'),
40
41 mapPanel: $('#map-panel'),
42 codePanel: $('#code-panel'),
43 profilerPanel: $('#profiler-panel'),
44 scriptPanel: $('#script-panel'),
45
46 toolTip: $('#tool-tip'),
47 };
48 this._view.logFileReader.addEventListener(
49 'fileuploadstart', this.handleFileUploadStart.bind(this));
50 this._view.logFileReader.addEventListener(
51 'fileuploadchunk', this.handleFileUploadChunk.bind(this));
52 this._view.logFileReader.addEventListener(
53 'fileuploadend', this.handleFileUploadEnd.bind(this));
54 this._startupPromise = this._loadCustomElements();
55 this._view.codeTrack.svg = true;
56 }
57
58 static get allEventTypes() {
59 return new Set([

Callers

nothing calls this directly

Calls 4

_loadCustomElementsMethod · 0.95
$Function · 0.90
addEventListenerMethod · 0.65
bindMethod · 0.45

Tested by

no test coverage detected