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:
parent
289e90b80a
commit
d7391f13e1
|
@ -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
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue