feat(perf/rust-libp2p): upgrade to v0.52.3 and remove master (#290)

- Upgrade rust-libp2p `v0.52` implementation to rust-libp2p `v0.52.3`.
- Remove rust-libp2p `master` implementation. Given that `v0.52.3` contains the
  stable QUIC implementation, there is no more need for `master`.
This commit is contained in:
Max Inden 2023-09-01 19:59:53 +02:00 committed by GitHub
parent fbb92b75b2
commit 73dba1a5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 28 deletions

View File

@ -1,22 +0,0 @@
commitSha := c86b665a653626f5eca30c4f8811a2a08c3fbb20
all: perf
perf: rust-libp2p-${commitSha}/target/release/perf
cp ./rust-libp2p-${commitSha}/target/release/perf .
rust-libp2p-${commitSha}/target/release/perf: rust-libp2p-${commitSha}
docker run --rm --user "$(shell id -u):$(shell id -g)" -v "$(shell pwd)/rust-libp2p-${commitSha}":/usr/src/myapp -w /usr/src/myapp rust:1.69 cargo build --release --bin perf
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
unzip -o rust-libp2p-${commitSha}.zip
rust-libp2p-${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

View File

@ -1,4 +1,4 @@
commitSha := 73dbde1519f71aa8d76f4c5fa018860ddcd2a8ea
commitSha := e8759c85c278006f5fc94e823c2a3620abaaf697
all: perf

View File

@ -15,11 +15,6 @@ export const versions: Array<Version> = [
implementation: "rust-libp2p",
transportStacks: ["tcp", "quic-v1"]
},
{
id: "master",
implementation: "rust-libp2p",
transportStacks: ["tcp", "quic-v1"]
},
{
id: "v0.1",
implementation: "https",