Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant run bench #90

Open
billythakidd04 opened this issue Jan 3, 2020 · 0 comments
Open

cant run bench #90

billythakidd04 opened this issue Jan 3, 2020 · 0 comments

Comments

@billythakidd04
Copy link

billythakidd04 commented Jan 3, 2020

I followed the instructions to run this test myself and got the following. I'm running on ubuntu 18.04 and go 1.13.5

go get github.com/julienschmidt/go-http-routing-benchmark
# github.com/julienschmidt/go-http-routing-benchmark
src/github.com/julienschmidt/go-http-routing-benchmark/routers.go:1242:23: undefined: possum.Context
src/github.com/julienschmidt/go-http-routing-benchmark/routers.go:1246:28: undefined: possum.Context
src/github.com/julienschmidt/go-http-routing-benchmark/routers.go:1251:27: undefined: possum.Context
src/github.com/julienschmidt/go-http-routing-benchmark/routers.go:1262:12: undefined: possum.NewServerMux
src/github.com/julienschmidt/go-http-routing-benchmark/routers.go:1270:12: undefined: possum.NewServerMux
 cd src/github.com/julienschmidt/go-http-routing-benchmark/
go get -u
go: downloading github.com/astaxie/beego v1.12.0
go: downloading github.com/go-chi/chi v4.0.2+incompatible
go: downloading github.com/naoina/denco v0.0.0-20180930074809-8475105a6b4c
go: downloading github.com/zenazn/goji v0.9.0
go: downloading github.com/mailgun/route v0.0.0-20181101151700-58b44163b968
go: downloading github.com/gin-gonic/gin v1.5.0
go: downloading github.com/labstack/echo/v4 v4.1.11
go: downloading github.com/naoina/kocha-urlrouter v0.0.0-20140609163054-ad3a6f079210
go: downloading gopkg.in/macaron.v1 v1.3.4
go: downloading github.com/plimble/ace v0.0.0-20180623113504-ba79f505f416
go: extracting github.com/go-chi/chi v4.0.2+incompatible
go: downloading github.com/lunny/tango v0.5.6
go: extracting github.com/zenazn/goji v0.9.0
go: downloading github.com/rcrowley/go-tigertonic v0.0.0-20170420123839-fe6b9f080eb7
go: extracting github.com/labstack/echo/v4 v4.1.11
go: downloading golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad
go: extracting github.com/plimble/ace v0.0.0-20180623113504-ba79f505f416
go: extracting github.com/naoina/kocha-urlrouter v0.0.0-20140609163054-ad3a6f079210
go: downloading github.com/lunny/log v0.0.0-20160921050905-7887c61bf0de
go: downloading github.com/mikespook/possum v0.0.0-20170224044927-56d7ebb6470b
go: extracting gopkg.in/macaron.v1 v1.3.4
go: extracting github.com/gin-gonic/gin v1.5.0
go: downloading github.com/labstack/gommon v0.3.0
go: extracting github.com/naoina/denco v0.0.0-20180930074809-8475105a6b4c
go: downloading github.com/dimfeld/httptreemux v5.0.1+incompatible
go: extracting github.com/mailgun/route v0.0.0-20181101151700-58b44163b968
go: downloading github.com/go-zoo/bone v1.3.0
go: extracting github.com/astaxie/beego v1.12.0
go: extracting github.com/lunny/tango v0.5.6
go: extracting github.com/rcrowley/go-tigertonic v0.0.0-20170420123839-fe6b9f080eb7
go: extracting github.com/lunny/log v0.0.0-20160921050905-7887c61bf0de
go: downloading github.com/ant0ine/go-json-rest v3.3.2+incompatible
go: downloading github.com/ursiform/bear v1.0.1
go: downloading goji.io v2.0.2+incompatible
go: extracting github.com/labstack/gommon v0.3.0
go: downloading github.com/vulcand/predicate v1.1.0
go: extracting github.com/dimfeld/httptreemux v5.0.1+incompatible
go: extracting golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad
go: extracting github.com/ursiform/bear v1.0.1
go: extracting github.com/mikespook/possum v0.0.0-20170224044927-56d7ebb6470b
go: extracting github.com/ant0ine/go-json-rest v3.3.2+incompatible
go: extracting goji.io v2.0.2+incompatible
go: extracting github.com/go-zoo/bone v1.3.0
go: downloading github.com/plimble/utils v0.0.0-20150615054616-fe08d46675cd
go: downloading github.com/cloudykit/router v0.0.0-20170501012743-15c4ed71df81
go: downloading github.com/vanng822/r2router v0.0.0-20150523112421-1023140a4f30
go: downloading gopkg.in/ini.v1 v1.48.0
go: downloading github.com/valyala/fasttemplate v1.0.1
go: downloading github.com/go-macaron/inject v0.0.0-20160627170012-d8a0b8677191
go: downloading gitea.com/lunny/log v0.0.0-20190322053110-01b5df579c4e
go: downloading github.com/julienschmidt/httprouter v1.3.0
go: downloading github.com/plimble/sessions v0.0.0-20180326075456-7047d39da9ad
go: extracting github.com/valyala/fasttemplate v1.0.1
go: downloading github.com/gowww/router v0.0.0-20180327195201-5f9c626ef619
go: extracting gopkg.in/ini.v1 v1.48.0
go: extracting github.com/vanng822/r2router v0.0.0-20150523112421-1023140a4f30
go: extracting github.com/plimble/utils v0.0.0-20150615054616-fe08d46675cd
go: extracting github.com/cloudykit/router v0.0.0-20170501012743-15c4ed71df81
go: extracting github.com/go-macaron/inject v0.0.0-20160627170012-d8a0b8677191
go: downloading github.com/mattn/go-colorable v0.1.2
go: downloading github.com/mattn/go-isatty v0.0.9
go: downloading github.com/aerogo/aero v1.3.42
go: downloading golang.org/x/net v0.0.0-20190926025831-c00fd9afed17
go: extracting github.com/julienschmidt/httprouter v1.3.0
go: extracting gitea.com/lunny/log v0.0.0-20190322053110-01b5df579c4e
go: extracting github.com/vulcand/predicate v1.1.0
go: extracting github.com/plimble/sessions v0.0.0-20180326075456-7047d39da9ad
go: downloading github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40
go: downloading github.com/gravitational/trace v0.0.0-20190726142706-a535a178675f
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/emicklei/go-restful v2.10.0+incompatible
go: downloading github.com/tinylib/msgp v1.1.0
go: extracting github.com/gowww/router v0.0.0-20180327195201-5f9c626ef619
go: downloading github.com/pilu/traffic v0.5.3
go: extracting github.com/mattn/go-colorable v0.1.2
go: extracting github.com/mattn/go-isatty v0.0.9
go: downloading github.com/typepress/rivet v1.1.1-0.20151208095308-d62b4fcaf6b9
go: downloading github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b
go: extracting github.com/aerogo/aero v1.3.42
go: downloading github.com/aerogo/http v1.1.1
go: extracting github.com/pilu/traffic v0.5.3
go: extracting github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b
go: extracting github.com/emicklei/go-restful v2.10.0+incompatible
go: extracting github.com/gravitational/trace v0.0.0-20190726142706-a535a178675f
go: extracting github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40
go: extracting github.com/gin-contrib/sse v0.1.0
go: extracting github.com/typepress/rivet v1.1.1-0.20151208095308-d62b4fcaf6b9
go: extracting github.com/tinylib/msgp v1.1.0
go: downloading github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/golang/protobuf v1.3.2
go: downloading github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c
go: downloading github.com/json-iterator/go v1.1.7
go: downloading gopkg.in/go-playground/validator.v9 v9.29.1
go: downloading github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563
go: downloading github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab
go: extracting golang.org/x/net v0.0.0-20190926025831-c00fd9afed17
go: extracting github.com/aerogo/http v1.1.1
go: downloading github.com/gocraft/web v0.0.0-20190207150652-9707327fb69b
go: downloading golang.org/x/sys v0.0.0-20191025090151-53bf42e6b339
go: downloading github.com/ugorji/go v1.1.7
go: extracting github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/sirupsen/logrus v1.4.2
go: extracting github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563
go: extracting gopkg.in/go-playground/validator.v9 v9.29.1
go: extracting github.com/gocraft/web v0.0.0-20190207150652-9707327fb69b
go: extracting github.com/json-iterator/go v1.1.7
go: extracting github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c
go: downloading github.com/aerogo/linter-performance v1.0.6
go: extracting github.com/golang/protobuf v1.3.2
go: extracting github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab
go: extracting github.com/ugorji/go v1.1.7
go: downloading github.com/ugorji/go/codec v1.1.7
go: downloading github.com/aerogo/session v0.1.8
go: downloading github.com/aerogo/session-store-memory v0.1.9
go: downloading github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742
go: downloading github.com/akyoto/hash v0.4.8
go: extracting github.com/sirupsen/logrus v1.4.2
go: downloading github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: downloading github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/aerogo/session v0.1.8
go: extracting github.com/aerogo/linter-performance v1.0.6
go: downloading github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: extracting github.com/ugorji/go/codec v1.1.7
go: extracting github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
go: extracting github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742
go: extracting github.com/akyoto/hash v0.4.8
go: extracting github.com/aerogo/session-store-memory v0.1.9
go: downloading github.com/leodido/go-urn v1.1.0
go: downloading github.com/akyoto/stringutils v0.3.0
go: downloading github.com/akyoto/color v1.8.11
go: downloading github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644
go: downloading gopkg.in/fsnotify.v1 v1.4.7
go: extracting golang.org/x/sys v0.0.0-20191025090151-53bf42e6b339
go: downloading github.com/akyoto/uuid v1.1.3
go: downloading github.com/aerogo/csp v0.1.10
go: downloading github.com/philhofer/fwd v1.0.0
go: extracting github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: extracting github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0
go: downloading github.com/pilu/config v0.0.0-20131214182432-3eb99e6c0b9a
go: extracting github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644
go: extracting github.com/akyoto/stringutils v0.3.0
go: extracting github.com/leodido/go-urn v1.1.0
go: downloading github.com/go-playground/universal-translator v0.16.0
go: downloading github.com/unknwon/com v1.0.1
go: downloading github.com/go-playground/lars v4.0.1+incompatible
go: extracting github.com/akyoto/uuid v1.1.3
go: extracting gopkg.in/fsnotify.v1 v1.4.7
go: extracting github.com/akyoto/color v1.8.11
go: downloading github.com/akyoto/colorable v0.1.7
go: downloading github.com/akyoto/tty v0.1.3
go: downloading golang.org/x/text v0.3.2
go: extracting github.com/philhofer/fwd v1.0.0
go: downloading github.com/zeebo/xxh3 v0.0.0-20191021174148-b56a7dc3d80c
go: extracting github.com/pilu/config v0.0.0-20131214182432-3eb99e6c0b9a
go: extracting github.com/aerogo/csp v0.1.10
go: extracting github.com/go-playground/universal-translator v0.16.0
go: downloading github.com/go-playground/locales v0.12.1
go: extracting github.com/akyoto/colorable v0.1.7
go: extracting github.com/unknwon/com v1.0.1
go: extracting github.com/zeebo/xxh3 v0.0.0-20191021174148-b56a7dc3d80c
go: extracting github.com/go-playground/locales v0.12.1
go: extracting github.com/akyoto/tty v0.1.3
go: extracting github.com/go-playground/lars v4.0.1+incompatible
go: downloading github.com/go-playground/form v3.1.4+incompatible
go: downloading github.com/gorilla/websocket v1.4.1
go: extracting github.com/gorilla/websocket v1.4.1
go: extracting github.com/go-playground/form v3.1.4+incompatible
go: extracting golang.org/x/text v0.3.2
go: finding github.com/leodido/go-urn v1.2.0
go: finding github.com/gravitational/trace latest
go: finding github.com/go-macaron/inject latest
go: finding github.com/go-martini/martini latest
go: finding github.com/pilu/config latest
go: finding github.com/shiena/ansicolor latest
go: finding github.com/zeebo/xxh3 latest
go: finding github.com/go-chi/chi v4.0.2+incompatible
go: finding gopkg.in/go-playground/validator.v9 v9.31.0
go: finding github.com/satori/go.uuid v1.2.0
go: finding github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b
go: finding github.com/go-playground/form v3.1.4+incompatible
go: finding github.com/codegangsta/inject latest
go: finding github.com/gocraft/web latest
go: finding github.com/labstack/echo/v4 v4.1.13
go: finding github.com/valyala/fasttemplate v1.1.0
go: finding golang.org/x/net latest
go: finding github.com/lunny/tango v0.5.6
go: finding github.com/tinylib/msgp v1.1.1
go: finding golang.org/x/text v0.3.2
go: finding github.com/emicklei/go-restful v2.11.1+incompatible
go: finding github.com/go-zoo/bone v1.3.0
go: finding github.com/labstack/gommon v0.3.0
go: finding github.com/gorilla/websocket v1.4.1
go: finding gopkg.in/macaron.v1 v1.3.4
go: finding github.com/lunny/log latest
go: finding github.com/ugorji/go/codec v1.1.7
go: finding github.com/philhofer/fwd v1.0.0
go: finding golang.org/x/sys latest
go: finding github.com/vulcand/predicate v1.1.0
go: finding github.com/unknwon/com v1.0.1
go: finding github.com/aerogo/aero v1.3.52
go: finding github.com/golang/protobuf v1.3.2
go: finding github.com/gin-contrib/sse v0.1.0
go: finding golang.org/x/crypto latest
go: finding github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: finding github.com/ursiform/bear v1.0.1
go: finding github.com/pilu/traffic v0.5.3
go: finding github.com/aerogo/session v0.1.9
go: finding github.com/typepress/rivet v1.1.0
go: finding gopkg.in/ini.v1 v1.51.1
go: finding github.com/typepress/rivet v1.1.1-0.20151208095308-d62b4fcaf6b9
go: finding github.com/julienschmidt/httprouter v1.3.0
go: finding github.com/oxtoacart/bpool latest
go: finding github.com/mikespook/possum latest
go: finding github.com/gowww/router latest
go: finding github.com/valyala/bytebufferpool v1.0.0
go: finding github.com/ant0ine/go-json-rest v3.3.2+incompatible
go: finding github.com/akyoto/tty v0.1.3
go: finding github.com/go-playground/lars v4.0.1+incompatible
go: finding github.com/bmizerany/pat latest
go: finding github.com/plimble/ace latest
go: finding github.com/naoina/denco latest
go: finding github.com/aerogo/session-store-memory v0.1.9
go: finding github.com/akyoto/stringutils v0.3.1
go: finding goji.io v2.0.2+incompatible
go: finding github.com/akyoto/hash v0.4.9
go: finding github.com/akyoto/uuid v1.1.3
go: finding github.com/astaxie/beego v1.12.0
go: finding github.com/vanng822/r2router latest
go: finding github.com/sirupsen/logrus v1.4.2
go: finding github.com/dimfeld/httptreemux v5.0.1+incompatible
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/mattn/go-colorable v0.1.4
go: finding github.com/zenazn/goji v0.9.0
go: finding github.com/rcrowley/go-metrics latest
go: finding github.com/plimble/sessions latest
go: finding gitea.com/lunny/log latest
go: finding github.com/aerogo/csp v0.1.10
go: finding github.com/aerogo/http v1.1.3
go: finding github.com/akyoto/color v1.8.11
go: finding github.com/gin-gonic/gin v1.5.0
go: finding github.com/plimble/utils latest
go: finding github.com/naoina/kocha-urlrouter latest
go: finding github.com/mattn/go-isatty v0.0.11
go: finding github.com/akyoto/colorable v0.1.7
go: finding github.com/mailgun/route latest
go: finding github.com/aerogo/linter-performance v1.0.7
go: finding github.com/go-playground/universal-translator v0.17.0
go: finding github.com/json-iterator/go v1.1.9
go: finding github.com/go-playground/locales v0.13.0
go: finding github.com/modern-go/concurrent latest
go: finding github.com/rcrowley/go-tigertonic latest
go: finding github.com/cloudykit/router latest
go: finding github.com/jonboulle/clockwork v0.1.0
go: downloading github.com/aerogo/aero v1.3.52
go: downloading github.com/mikespook/possum v0.0.0-20191211205952-9816518f75d5
go: downloading github.com/labstack/echo v3.3.10+incompatible
go: downloading golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876
go: downloading github.com/mattn/go-isatty v0.0.11
go: downloading github.com/emicklei/go-restful v2.11.1+incompatible
go: downloading github.com/json-iterator/go v1.1.9
go: downloading github.com/mailgun/route v0.0.0-20191025171320-daa4df6c711a
go: extracting github.com/mattn/go-isatty v0.0.11
go: downloading golang.org/x/sys v0.0.0-20200102141924-c96a22e43c9c
go: extracting github.com/aerogo/aero v1.3.52
go: downloading github.com/aerogo/linter-performance v1.0.7
go: extracting github.com/json-iterator/go v1.1.9
go: downloading github.com/aerogo/http v1.1.3
go: extracting github.com/emicklei/go-restful v2.11.1+incompatible
go: extracting github.com/mailgun/route v0.0.0-20191025171320-daa4df6c711a
go: extracting github.com/mikespook/possum v0.0.0-20191211205952-9816518f75d5
go: downloading github.com/aerogo/session v0.1.9
go: downloading gopkg.in/go-playground/validator.v9 v9.31.0
go: extracting github.com/aerogo/linter-performance v1.0.7
go: extracting github.com/labstack/echo v3.3.10+incompatible
go: extracting golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876
go: downloading github.com/gravitational/trace v0.0.0-20191125212024-42a8fffe760d
go: downloading github.com/labstack/echo/v4 v4.1.13
go: downloading github.com/akyoto/stringutils v0.3.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/akyoto/stringutils v0.3.1
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading gopkg.in/ini.v1 v1.51.1
go: downloading github.com/tinylib/msgp v1.1.1
go: extracting github.com/modern-go/reflect2 v1.0.1
go: extracting golang.org/x/sys v0.0.0-20200102141924-c96a22e43c9c
go: extracting github.com/labstack/echo/v4 v4.1.13
go: extracting github.com/gravitational/trace v0.0.0-20191125212024-42a8fffe760d
go: extracting github.com/aerogo/session v0.1.9
go: extracting gopkg.in/go-playground/validator.v9 v9.31.0
go: extracting github.com/aerogo/http v1.1.3
go: downloading github.com/akyoto/hash v0.4.9
go: downloading github.com/go-playground/universal-translator v0.17.0
go: downloading github.com/leodido/go-urn v1.2.0
go: downloading github.com/valyala/fasttemplate v1.1.0
go: downloading github.com/mattn/go-colorable v0.1.4
go: extracting gopkg.in/ini.v1 v1.51.1
go: extracting github.com/tinylib/msgp v1.1.1
go: extracting github.com/mattn/go-colorable v0.1.4
go: extracting github.com/valyala/fasttemplate v1.1.0
go: extracting github.com/go-playground/universal-translator v0.17.0
go: extracting github.com/akyoto/hash v0.4.9
go: downloading github.com/zeebo/xxh3 v0.0.0-20191227220208-65f423c10688
go: downloading github.com/go-playground/locales v0.13.0
go: extracting github.com/leodido/go-urn v1.2.0
go: extracting github.com/zeebo/xxh3 v0.0.0-20191227220208-65f423c10688
go: extracting github.com/go-playground/locales v0.13.0
# github.com/julienschmidt/go-http-routing-benchmark
./routers.go:1242:23: undefined: possum.Context
./routers.go:1246:28: undefined: possum.Context
./routers.go:1251:27: undefined: possum.Context
./routers.go:1262:12: undefined: possum.NewServerMux
./routers.go:1270:12: undefined: possum.NewServerMux
 go test -bench=.
# github.com/julienschmidt/go-http-routing-benchmark [github.com/julienschmidt/go-http-routing-benchmark.test]
./routers.go:1242:23: undefined: possum.Context
./routers.go:1246:28: undefined: possum.Context
./routers.go:1251:27: undefined: possum.Context
./routers.go:1262:12: undefined: possum.NewServerMux
./routers.go:1270:12: undefined: possum.NewServerMux
FAIL	github.com/julienschmidt/go-http-routing-benchmark [build failed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant