Skip to content

Commit

Permalink
fix(perf): replace rust-libp2p-quinn/ with rust-libp2p/master
Browse files Browse the repository at this point in the history
With libp2p/rust-libp2p#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.
  • Loading branch information
mxinden committed Aug 1, 2023
1 parent 003ac2c commit afe40e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commitSha := 3287f079a8faf5e633a85edae2e76bf490ef1e51
commitSha := c86b665a653626f5eca30c4f8811a2a08c3fbb20

all: perf

Expand All @@ -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
6 changes: 3 additions & 3 deletions perf/runner/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export const versions: Array<Version> = [
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",
Expand Down

0 comments on commit afe40e6

Please sign in to comment.