Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 17:17:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434622 - in head/benchmarks: . gobench
Message-ID:  <201702221717.v1MHHo7L076059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Feb 22 17:17:49 2017
New Revision: 434622
URL: https://svnweb.freebsd.org/changeset/ports/434622

Log:
  Add gobench 1.1
  
  goBench is a HTTP(S) benchmarking tool designed for high throughput
  to replace existing benchmarking/load tools which have concurrency
  issues. We are working so hard to optimize our servers - why shouldn't
  we do also it for our clients testers?!
  
  WWW: https://github.com/tabrarg/gobench
  
  - While I'm here:
    - Add LICENSE_FILE
    - Change BUILD_DEPENDS to RUN_DEPENDS
    - Remove GH_PROJECT
    - Respect LOCALBASE
  
  PR:		217213
  Submitted by:	Guy Tabrar <guy.tabrar@me.com>

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

Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile	Wed Feb 22 17:15:18 2017	(r434621)
+++ head/benchmarks/Makefile	Wed Feb 22 17:17:49 2017	(r434622)
@@ -21,6 +21,7 @@
     SUBDIR += flowgrind
     SUBDIR += forkbomb
     SUBDIR += glmark2
+    SUBDIR += gobench
     SUBDIR += gtkperf
     SUBDIR += himenobench
     SUBDIR += hpl

Added: head/benchmarks/gobench/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/gobench/Makefile	Wed Feb 22 17:17:49 2017	(r434622)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	gobench
+PORTVERSION=	1.1
+CATEGORIES=	benchmarks net
+
+MAINTAINER=	guy.tabrar@me.com
+COMMENT=	HTTP benchmarking tool written in Go
+
+LICENSE=	BSD3CLAUSE
+
+RUN_DEPENDS=	go:lang/go \
+		go-fasthttp>=0:www/go-fasthttp
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	tabrarg
+
+NO_ARCH=        yes
+NO_BUILD=       yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/gobench
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/gobench ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/gobench.go ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/gobench.1 ${STAGEDIR}${PREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/benchmarks/gobench/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/gobench/distinfo	Wed Feb 22 17:17:49 2017	(r434622)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1487485531
+SHA256 (tabrarg-gobench-1.1_GH0.tar.gz) = 0c5aa018947ad61f3e67c9bd6ddac4a15d19043cc485f7a5e997191d59aed641
+SIZE (tabrarg-gobench-1.1_GH0.tar.gz) = 6963

Added: head/benchmarks/gobench/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/gobench/pkg-descr	Wed Feb 22 17:17:49 2017	(r434622)
@@ -0,0 +1,6 @@
+goBench is a HTTP(S) benchmarking tool designed for high throughput
+to replace existing benchmarking/load tools which have concurrency
+issues. We are working so hard to optimize our servers - why shouldn't
+we do also it for our clients testers?!
+
+WWW: https://github.com/tabrarg/gobench

Added: head/benchmarks/gobench/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/gobench/pkg-plist	Wed Feb 22 17:17:49 2017	(r434622)
@@ -0,0 +1,3 @@
+bin/gobench
+bin/gobench.go
+man/man1/gobench.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702221717.v1MHHo7L076059>