svn commit: r443638 - in head/benchmarks: . hey

Brad Davis brd at FreeBSD.org
Thu Jun 15 20:52:54 UTC 2017


Author: brd
Date: Thu Jun 15 20:52:52 2017
New Revision: 443638
URL: https://svnweb.freebsd.org/changeset/ports/443638

Log:
  Add 'hey' an HTTP benchmarking tool
  
  Reviewed by:	swills (mentor)

Added:
  head/benchmarks/hey/
  head/benchmarks/hey/Makefile   (contents, props changed)
  head/benchmarks/hey/distinfo   (contents, props changed)
  head/benchmarks/hey/pkg-descr   (contents, props changed)
Modified:
  head/benchmarks/Makefile

Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile	Thu Jun 15 20:42:51 2017	(r443637)
+++ head/benchmarks/Makefile	Thu Jun 15 20:52:52 2017	(r443638)
@@ -24,6 +24,7 @@
     SUBDIR += forkbomb
     SUBDIR += glmark2
     SUBDIR += gtkperf
+    SUBDIR += hey
     SUBDIR += himenobench
     SUBDIR += hpl
     SUBDIR += hs-criterion

Added: head/benchmarks/hey/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/hey/Makefile	Thu Jun 15 20:52:52 2017	(r443638)
@@ -0,0 +1,33 @@
+# Created by: Brad Davis <brd at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	hey
+PORTVERSION=	0.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	benchmarks
+
+MAINTAINER=	brd at 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>

Added: head/benchmarks/hey/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/hey/distinfo	Thu Jun 15 20:52:52 2017	(r443638)
@@ -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

Added: head/benchmarks/hey/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/hey/pkg-descr	Thu Jun 15 20:52:52 2017	(r443638)
@@ -0,0 +1,3 @@
+hey is tool to to test HTTP/HTTP2 performance.
+
+WWW: https://github.com/rakyll/hey


More information about the svn-ports-head mailing list