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

Method rebuild

deps/v8/tools/turbolizer/src/graph-layout.ts:26–38  ·  view source on GitHub ↗
(showTypes: boolean)

Source from the content-addressed store, hash-verified

24 }
25
26 public rebuild(showTypes: boolean): void {
27 switch (this.graph.graphPhase.stateType) {
28 case GraphStateType.NeedToFullRebuild:
29 this.fullRebuild(showTypes);
30 break;
31 case GraphStateType.Cached:
32 this.cachedRebuild();
33 break;
34 default:
35 throw "Unsupported graph state type";
36 }
37 this.graph.graphPhase.rendered = true;
38 }
39
40 private fullRebuild(showTypes: boolean): void {
41 this.startTime = performance.now();

Callers 3

execMethod · 0.45
layoutGraphMethod · 0.45
layoutGraphMethod · 0.45

Calls 2

fullRebuildMethod · 0.95
cachedRebuildMethod · 0.95

Tested by

no test coverage detected