MCPcopy Index your code
hub / github.com/nodejs/node / handleFileUploadEnd

Method handleFileUploadEnd

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

Source from the content-addressed store, hash-verified

353 }
354
355 async handleFileUploadEnd(e) {
356 try {
357 const processor = this._processor;
358 await processor.finalize();
359 await this._startupPromise;
360
361 this._state.profile = processor.profile;
362 const mapTimeline = processor.mapTimeline;
363 const icTimeline = processor.icTimeline;
364 const deoptTimeline = processor.deoptTimeline;
365 const codeTimeline = processor.codeTimeline;
366 const tickTimeline = processor.tickTimeline;
367 const timerTimeline = processor.timerTimeline;
368 this._state.setTimelines(
369 mapTimeline, icTimeline, deoptTimeline, codeTimeline, tickTimeline,
370 timerTimeline);
371 this._view.mapPanel.timeline = mapTimeline;
372 this._view.icList.timeline = icTimeline;
373 this._view.mapList.timeline = mapTimeline;
374 this._view.deoptList.timeline = deoptTimeline;
375 this._view.codeList.timeline = codeTimeline;
376 this._view.scriptPanel.scripts = processor.scripts;
377 this._view.codePanel.timeline = codeTimeline;
378 this._view.codePanel.timeline = codeTimeline;
379 this._view.profilerPanel.timeline = tickTimeline;
380 this.refreshTimelineTrackView();
381 } catch (e) {
382 this._view.logFileReader.error = 'Log file contains errors!'
383 throw (e);
384 } finally {
385 $('#container').className = 'loaded';
386 this.fileLoaded = true;
387 }
388 }
389
390 refreshTimelineTrackView() {
391 this._view.mapTrack.data = this._state.mapTimeline;

Callers

nothing calls this directly

Calls 4

$Function · 0.90
setTimelinesMethod · 0.80
finalizeMethod · 0.45

Tested by

no test coverage detected