remove console.log for hopefully better performance

This commit is contained in:
2025-09-08 17:49:21 -05:00
parent 9f7b05294c
commit 57fd1f0b0b
-2
View File
@@ -124,7 +124,6 @@ onEdgeEngine.setArrivalCallback(({ from, to, dot }) => {
if (neighbor === from) { if (neighbor === from) {
continue; continue;
} }
console.log(`Sending packet ${packetId} from ${to} to ${neighbor}`);
var packetShift = generateRealisticLabel(); var packetShift = generateRealisticLabel();
var movingNode = { var movingNode = {
id: `${packetId}-${packetShift}-${ttl}`, id: `${packetId}-${packetShift}-${ttl}`,
@@ -546,7 +545,6 @@ document.getElementById('createRandomGraphConfirm').addEventListener('click', fu
onNodeAdd(); onNodeAdd();
nodeCounter++; nodeCounter++;
if (nodeCounter >= nodeCount) { if (nodeCounter >= nodeCount) {
console.log('Node count reached');
clearInterval(interval); clearInterval(interval);
setTimeout(() => { setTimeout(() => {
network.setOptions({ network.setOptions({