Skip to content
Snippets Groups Projects
Commit b3b032ed authored by AndiMajore's avatar AndiMajore
Browse files

adding timestamps for evaluation of drugstone visualization performance

parent 729e9911
No related branches found
No related tags found
No related merge requests found
......@@ -303,8 +303,10 @@ export class NetworkComponent implements OnInit {
this.updatePhysicsEnabled(this.drugstoneConfig.config.physicsOn);
this.networkInternal.fit();
this.loadingScreen.stateUpdate(false);
console.log('Stabilization end: ' + Date.now());
resolve(true);
});
console.log('Stabilization start: ' + Date.now());
this.loadingScreen.stateUpdate(true);
this.networkInternal.stabilize(1000);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment