diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/Makefile | 1 | ||||
-rw-r--r-- | benchmarks/vegeta/Makefile | 36 | ||||
-rw-r--r-- | benchmarks/vegeta/distinfo | 9 | ||||
-rw-r--r-- | benchmarks/vegeta/pkg-descr | 4 |
4 files changed, 50 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile index 49339f659e00..1622ddf955ef 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -87,6 +87,7 @@ SUBDIR += typometer SUBDIR += ubench SUBDIR += unixbench + SUBDIR += vegeta SUBDIR += webbench SUBDIR += wrk diff --git a/benchmarks/vegeta/Makefile b/benchmarks/vegeta/Makefile new file mode 100644 index 000000000000..96989067c6ca --- /dev/null +++ b/benchmarks/vegeta/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= vegeta +DISTVERSIONPREFIX= v +DISTVERSION= 6.3.0 +CATEGORIES= benchmarks www + +MAINTAINER= egypcio@googlemail.com +COMMENT= HTTP load testing tool and library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go:lang/go + +PLIST_FILES= bin/${PORTNAME} + +USE_GITHUB= yes +GH_ACCOUNT= tsenart + +GH_TUPLE= streadway:quantile:b0c5887:quantile/github.com/streadway/quantile \ + golang:net:ab54850:net/golang.org/x/net \ + golang:text:c4d099d:text/golang.org/x/text + +do-build: + @${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT} + @${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} + @${RLN} ${WRKSRC} ${WRKSRC}/src + @cd ${WRKSRC} && \ + ${SETENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ + go build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${LOCALBASE}/bin + +.include <bsd.port.mk> diff --git a/benchmarks/vegeta/distinfo b/benchmarks/vegeta/distinfo new file mode 100644 index 000000000000..99e92c4129f5 --- /dev/null +++ b/benchmarks/vegeta/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1516358474 +SHA256 (tsenart-vegeta-v6.3.0_GH0.tar.gz) = b9eaf9dc748fa58360395641ff50a33e53c805bf8a45ba3d787133d97b2269c6 +SIZE (tsenart-vegeta-v6.3.0_GH0.tar.gz) = 110938 +SHA256 (streadway-quantile-b0c5887_GH0.tar.gz) = f9d29902009510bcd68638fbdd6942f04c1b3def7c1efee730601fed8fdbd0ae +SIZE (streadway-quantile-b0c5887_GH0.tar.gz) = 4862 +SHA256 (golang-net-ab54850_GH0.tar.gz) = fdb82ce54054f5f2eafb41156b8445b9bedefd581817b7395dc392bfcf6c876c +SIZE (golang-net-ab54850_GH0.tar.gz) = 912099 +SHA256 (golang-text-c4d099d_GH0.tar.gz) = b73bfa5e48c59cde4b3bc54cfd83ef8d0024dfcac4eb471e55fce5ea71801a1c +SIZE (golang-text-c4d099d_GH0.tar.gz) = 6032418 diff --git a/benchmarks/vegeta/pkg-descr b/benchmarks/vegeta/pkg-descr new file mode 100644 index 000000000000..7c3890fced2b --- /dev/null +++ b/benchmarks/vegeta/pkg-descr @@ -0,0 +1,4 @@ +Vegeta is a versatile HTTP load testing tool built out of a need to drill HTTP +services with a constant request rate. + +WWW: https://github.com/tsenart/vegeta |