fix(perf): increase iterations (#213)

- Increase upload/download benchmark iterations. Still conservative value of `10` due to slow rust-libp2p tcp. See https://github.com/libp2p/rust-yamux/issues/162. Note however that this is 10x an upload of 100MB.
- Increase latency benchmark iterations.
This commit is contained in:
Max Inden 2023-07-10 12:06:51 +09:00 committed by GitHub
parent 289e90b80a
commit d7391f13e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1421 additions and 1151 deletions

View File

@ -22,7 +22,7 @@ jobs:
perf:
name: Perf
runs-on: ubuntu-latest
timeout-minutes: 40
timeout-minutes: 120
defaults:
run:
shell: bash

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ async function main(clientPublicIP: string, serverPublicIP: string) {
uploadBytes: 100 << 20,
downloadBytes: 0,
unit: "bit/s",
iterations: 5,
iterations: 10,
}),
runBenchmarkAcrossVersions({
name: "Single Connection throughput Download 100 MiB",
@ -28,7 +28,7 @@ async function main(clientPublicIP: string, serverPublicIP: string) {
uploadBytes: 0,
downloadBytes: 100 << 20,
unit: "bit/s",
iterations: 5,
iterations: 10,
}),
runBenchmarkAcrossVersions({
name: "Connection establishment + 1 byte round trip latencies",