Skip to content

Commit

Permalink
chore: add go and http back
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Nov 19, 2023
1 parent 758d948 commit 0e04d2b
Show file tree
Hide file tree
Showing 35 changed files with 13 additions and 18 deletions.
12 changes: 6 additions & 6 deletions perf/impl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ 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 $@
$(GO_SUBDIRS):
$(MAKE) -C $@
$(HTTPS_SUBDIRS):
$(MAKE) -C $@
$(QUIC_GO_SUBDIRS):
$(MAKE) -C $@
$(JS_SUBDIRS):
$(MAKE) -C $@

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@libp2p/perf-js-libp2p-next",
"name": "@libp2p/perf-js-libp2p-1-0",
"private": true,
"main": "index.js",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ for ((i = 1; i <= $#; i++)); do
done

# Run perf
node impl/js-libp2p/next/index.js --run-server=$run_server --server-address=$server_address --upload-bytes=$upload_bytes --download-bytes=$download_bytes --transport=$transport
node impl/js-libp2p/v1.0/index.js --run-server=$run_server --server-address=$server_address --upload-bytes=$upload_bytes --download-bytes=$download_bytes --transport=$transport
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 5 additions & 10 deletions perf/runner/src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ export type Version = {
}

export const versions: Array<Version> = [
/*{
{
id: "v0.34",
implementation: "quic-go",
transportStacks: ["quic-v1"]
},
{
/*{
id: "v0.53",
implementation: "rust-libp2p",
transportStacks: ["tcp", "quic-v1"]
},
},*/
{
id: "v0.1",
implementation: "https",
Expand All @@ -39,19 +39,14 @@ export const versions: Array<Version> = [
id: "v0.31",
implementation: "go-libp2p",
transportStacks: ["tcp", "quic-v1"]
},*/
{
id: "v0.46",
implementation: "js-libp2p",
transportStacks: ["tcp"]
},
{
id: "next",
id: "v0.46",
implementation: "js-libp2p",
transportStacks: ["tcp"]
},
{
id: "next-default",
id: "v1,0",
implementation: "js-libp2p",
transportStacks: ["tcp"]
},
Expand Down

0 comments on commit 0e04d2b

Please sign in to comment.