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) {
continue;
}
console.log(`Sending packet ${packetId} from ${to} to ${neighbor}`);
var packetShift = generateRealisticLabel();
var movingNode = {
id: `${packetId}-${packetShift}-${ttl}`,
@@ -546,7 +545,6 @@ document.getElementById('createRandomGraphConfirm').addEventListener('click', fu
onNodeAdd();
nodeCounter++;
if (nodeCounter >= nodeCount) {
console.log('Node count reached');
clearInterval(interval);
setTimeout(() => {
network.setOptions({