mirror of
https://github.com/wisplite/BLE-mesh-sim.git
synced 2026-10-30 13:32:21 -05:00
remove console.log for hopefully better performance
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user