From 373895d01f563e3cb5ab23982efcf5e73c7375a1 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 7 Nov 2023 15:01:38 +0000 Subject: [PATCH] chore: update impl --- perf/impl/js-libp2p/v0.46/package.json | 8 +------- perf/impl/js-libp2p/v0.46/perf | 3 +-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/perf/impl/js-libp2p/v0.46/package.json b/perf/impl/js-libp2p/v0.46/package.json index 165b43ee1..6f7b00ad8 100644 --- a/perf/impl/js-libp2p/v0.46/package.json +++ b/perf/impl/js-libp2p/v0.46/package.json @@ -1,14 +1,8 @@ { "name": "@libp2p/perf-js-libp2p-0-46", - "version": "1.0.0", - "description": "", + "private": true, "main": "index.js", "type": "module", - "scripts": { - "start": "node index.js" - }, - "author": "", - "license": "ISC", "dependencies": { "@chainsafe/libp2p-noise": "^13.0.2", "@chainsafe/libp2p-yamux": "^5.0.0", diff --git a/perf/impl/js-libp2p/v0.46/perf b/perf/impl/js-libp2p/v0.46/perf index 00e5042b4..34ff2c31a 100755 --- a/perf/impl/js-libp2p/v0.46/perf +++ b/perf/impl/js-libp2p/v0.46/perf @@ -36,8 +36,7 @@ for ((i = 1; i <= $#; i++)); do done # Run perf -cd impl/js-libp2p/v0.46 -npm start --run-server=$run_server --server-address=$server_address --upload-bytes=$upload_bytes --download-bytes=$download_bytes --transport=$transport & +node impl/js-libp2p/v0.46/index.js --run-server=$run_server --server-address=$server_address --upload-bytes=$upload_bytes --download-bytes=$download_bytes --transport=$transport & node_pid=$!