Skip to content

Commit

Permalink
chore: enable others
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Nov 17, 2023
1 parent 6965e9f commit 299d6e5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
16 changes: 8 additions & 8 deletions perf/impl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ QUIC_GO_SUBDIRS := $(wildcard quic-go/*/.)
JS_SUBDIRS := $(wildcard js-libp2p/*/.)

all: $(RUST_SUBDIRS) $(GO_SUBDIRS) $(HTTPS_SUBDIRS) $(QUIC_GO_SUBDIRS) $(JS_SUBDIRS)
#$(RUST_SUBDIRS):
# $(MAKE) -C $@
#$(GO_SUBDIRS):
# $(MAKE) -C $@
#$(HTTPS_SUBDIRS):
# $(MAKE) -C $@
#$(QUIC_GO_SUBDIRS):
# $(MAKE) -C $@
$(RUST_SUBDIRS):
$(MAKE) -C $@
$(GO_SUBDIRS):
$(MAKE) -C $@
$(HTTPS_SUBDIRS):
$(MAKE) -C $@
$(QUIC_GO_SUBDIRS):
$(MAKE) -C $@
$(JS_SUBDIRS):
$(MAKE) -C $@

Expand Down
2 changes: 0 additions & 2 deletions perf/impl/js-libp2p/next/perf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ for ((i = 1; i <= $#; i++)); do
fi
done

export DEBUG=libp2p*,*:trace

# Run perf
node impl/js-libp2p/v0.46/index.js --run-server=$run_server --server-address=$server_address --upload-bytes=$upload_bytes --download-bytes=$download_bytes --transport=$transport
2 changes: 0 additions & 2 deletions perf/impl/js-libp2p/v0.46/perf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ for ((i = 1; i <= $#; i++)); do
fi
done

export DEBUG=libp2p*,*:trace

# Run perf
node impl/js-libp2p/v0.46/index.js --run-server=$run_server --server-address=$server_address --upload-bytes=$upload_bytes --download-bytes=$download_bytes --transport=$transport
10 changes: 5 additions & 5 deletions perf/runner/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ async function main(clientPublicIP: string, serverPublicIP: string, testing: boo
uploadBytes: Number.MAX_SAFE_INTEGER,
downloadBytes: 0,
unit: "bit/s",
iterations: 1,
durationSecondsPerIteration: 5,
iterations: testing ? 1 : 10,
durationSecondsPerIteration: testing ? 5 : 20,
}),
runBenchmarkAcrossVersions({
name: "throughput/download",
Expand All @@ -29,8 +29,8 @@ async function main(clientPublicIP: string, serverPublicIP: string, testing: boo
uploadBytes: 0,
downloadBytes: Number.MAX_SAFE_INTEGER,
unit: "bit/s",
iterations: 1,
durationSecondsPerIteration: 5,
iterations: testing ? 1 : 10,
durationSecondsPerIteration: testing ? 5 : 20,
}),
runBenchmarkAcrossVersions({
name: "Connection establishment + 1 byte round trip latencies",
Expand All @@ -39,7 +39,7 @@ async function main(clientPublicIP: string, serverPublicIP: string, testing: boo
uploadBytes: 1,
downloadBytes: 1,
unit: "s",
iterations: 1,
iterations: testing ? 1 : 100,
durationSecondsPerIteration: Number.MAX_SAFE_INTEGER,
}),
];
Expand Down
4 changes: 2 additions & 2 deletions perf/runner/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export type Version = {
}

export const versions: Array<Version> = [
/* {
{
id: "v0.34",
implementation: "quic-go",
transportStacks: ["quic-v1"]
Expand Down Expand Up @@ -39,7 +39,7 @@ export const versions: Array<Version> = [
id: "v0.31",
implementation: "go-libp2p",
transportStacks: ["tcp", "quic-v1"]
},*/
},
{
id: "v0.46",
implementation: "js-libp2p",
Expand Down

0 comments on commit 299d6e5

Please sign in to comment.