From afe40e6c37a5609ca0be2c562fb7ded7f88c75eb Mon Sep 17 00:00:00 2001 From: Max Inden Date: Tue, 1 Aug 2023 14:50:45 +0200 Subject: [PATCH] fix(perf): replace rust-libp2p-quinn/ with rust-libp2p/master With https://github.com/libp2p/rust-libp2p/pull/3454 merged we can now test the new rust-libp2p QUIC implementation based on upstream quinn directly from rust-libp2p `master`. This commit does the following in libp2p/test-plans: 1. Remove the `perf/impl/rust-libp2p-quinn` implementation. 2. Introduce the `perf/impl/rust-libp2p/master` version of the rust-libp2p implementation. We can promote the latter to a proper version on the next rust-libp2p release. --- .../v0.52 => rust-libp2p/master}/Makefile | 8 ++++---- perf/runner/src/versions.ts | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) rename perf/impl/{rust-libp2p-quinn/v0.52 => rust-libp2p/master}/Makefile (75%) diff --git a/perf/impl/rust-libp2p-quinn/v0.52/Makefile b/perf/impl/rust-libp2p/master/Makefile similarity index 75% rename from perf/impl/rust-libp2p-quinn/v0.52/Makefile rename to perf/impl/rust-libp2p/master/Makefile index bcdcc0f9e..d56c78750 100644 --- a/perf/impl/rust-libp2p-quinn/v0.52/Makefile +++ b/perf/impl/rust-libp2p/master/Makefile @@ -1,4 +1,4 @@ -commitSha := 3287f079a8faf5e633a85edae2e76bf490ef1e51 +commitSha := c86b665a653626f5eca30c4f8811a2a08c3fbb20 all: perf @@ -12,11 +12,11 @@ rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip unzip -o rust-libp2p-${commitSha}.zip rust-libp2p-${commitSha}.zip: -# TODO: Change to libp2p - wget -O $@ "https://github.com/mxinden/rust-libp2p/archive/${commitSha}.zip" + wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.zip" clean: rm rust-libp2p-*.zip rm -rf rust-libp2p-* + rm perf -.PHONY: all clean run +.PHONY: all clean diff --git a/perf/runner/src/versions.ts b/perf/runner/src/versions.ts index 6666adcf6..8613a481f 100644 --- a/perf/runner/src/versions.ts +++ b/perf/runner/src/versions.ts @@ -16,9 +16,9 @@ export const versions: Array = [ transportStacks: ["tcp", "quic-v1"] }, { - id: "v0.52", - implementation: "rust-libp2p-quinn", - transportStacks: ["quic-v1"] + id: "master", + implementation: "rust-libp2p", + transportStacks: ["tcp", "quic-v1"] }, { id: "v0.1",