aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2017-06-15 20:52:52 +0000
committerBrad Davis <brd@FreeBSD.org>2017-06-15 20:52:52 +0000
commit86123dda5dbb417fbba97556c11ae00031f20383 (patch)
tree6875749b8afa2b8daa5d3a2590059faed98e7b8c /benchmarks
parent8c193ce674fcb92f734298b305b7cefd2c3a64b6 (diff)
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/hey/Makefile33
-rw-r--r--benchmarks/hey/distinfo5
-rw-r--r--benchmarks/hey/pkg-descr3
4 files changed, 42 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 88c2bc2af0a9..ff77be2906ae 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -24,6 +24,7 @@
SUBDIR += forkbomb
SUBDIR += glmark2
SUBDIR += gtkperf
+ SUBDIR += hey
SUBDIR += himenobench
SUBDIR += hpl
SUBDIR += hs-criterion
diff --git a/benchmarks/hey/Makefile b/benchmarks/hey/Makefile
new file mode 100644
index 000000000000..18e2b0ec6447
--- /dev/null
+++ b/benchmarks/hey/Makefile
@@ -0,0 +1,33 @@
+# Created by: Brad Davis <brd@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= hey
+PORTVERSION= 0.1.0
+DISTVERSIONPREFIX= v
+CATEGORIES= benchmarks
+
+MAINTAINER= brd@FreeBSD.org
+COMMENT= Tiny program that sends some load to a web application
+
+BUILD_DEPENDS= go>=1.7:lang/go
+
+USE_GITHUB= yes
+GH_ACCOUNT= rakyll
+
+GH_TUPLE= golang:net:41bba8d:net/src/golang.org/x/net
+
+PLIST_FILES= bin/hey
+
+do-build:
+ ( cd ${WRKSRC}; \
+ ${MKDIR} src/github.com/rakyll/hey; \
+ cd src/github.com/rakyll/hey; \
+ ${LN} -s ../../../../requester . )
+ ( cd ${WRKSRC}; \
+ ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
+ go build ${BUILD_FLAGS} )
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/benchmarks/hey/distinfo b/benchmarks/hey/distinfo
new file mode 100644
index 000000000000..fab2f145e1d3
--- /dev/null
+++ b/benchmarks/hey/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1497559091
+SHA256 (rakyll-hey-v0.1.0_GH0.tar.gz) = a8127634e21897c587c6c375f88121e907ce4af8bf71374db44c5d752ae4a296
+SIZE (rakyll-hey-v0.1.0_GH0.tar.gz) = 11853
+SHA256 (golang-net-41bba8d_GH0.tar.gz) = 003c999bb8c3d73cc3dae0ca48e8afcb77cf58cb6e2b25b4486ff602deacb8eb
+SIZE (golang-net-41bba8d_GH0.tar.gz) = 770083
diff --git a/benchmarks/hey/pkg-descr b/benchmarks/hey/pkg-descr
new file mode 100644
index 000000000000..f52f2771663b
--- /dev/null
+++ b/benchmarks/hey/pkg-descr
@@ -0,0 +1,3 @@
+hey is tool to to test HTTP/HTTP2 performance.
+
+WWW: https://github.com/rakyll/hey