From 7f647f9365adcf466cc1e9138846192e56aea44a Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 17 Nov 2023 13:56:31 +0000 Subject: [PATCH] chore: log output --- perf/impl/js-libp2p/next/index.js | 2 ++ perf/impl/js-libp2p/v0.46/index.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/perf/impl/js-libp2p/next/index.js b/perf/impl/js-libp2p/next/index.js index 0a09de94d..1a9f0818c 100644 --- a/perf/impl/js-libp2p/next/index.js +++ b/perf/impl/js-libp2p/next/index.js @@ -73,6 +73,8 @@ export async function main (runServer, serverIpAddress, transport, uploadBytes, for await (const output of node.services.perf.measurePerformance(multiaddr(`/ip4/${host}/tcp/${port}`), uploadBytes, downloadBytes)) { // eslint-disable-next-line no-console console.log(JSON.stringify(output)) + // eslint-disable-next-line no-console + console.error(JSON.stringify(output)) } await node.stop() diff --git a/perf/impl/js-libp2p/v0.46/index.js b/perf/impl/js-libp2p/v0.46/index.js index 0a09de94d..1a9f0818c 100644 --- a/perf/impl/js-libp2p/v0.46/index.js +++ b/perf/impl/js-libp2p/v0.46/index.js @@ -73,6 +73,8 @@ export async function main (runServer, serverIpAddress, transport, uploadBytes, for await (const output of node.services.perf.measurePerformance(multiaddr(`/ip4/${host}/tcp/${port}`), uploadBytes, downloadBytes)) { // eslint-disable-next-line no-console console.log(JSON.stringify(output)) + // eslint-disable-next-line no-console + console.error(JSON.stringify(output)) } await node.stop()