chore: add rust-libp2p@v0.55.0 to perf

This commit is contained in:
AlejandroCabeza 2025-01-16 00:58:52 +00:00
parent 434938271f
commit cd4041293a
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,22 @@
commitSha :=
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.73 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

@ -74,5 +74,13 @@
"tcp", "tcp",
"quic-v1" "quic-v1"
] ]
},
{
"id": "v0.55",
"implementation": "rust-libp2p",
"transportStacks": [
"tcp",
"quic-v1"
]
} }
] ]