svn commit: r301836 - in head/benchmarks: . wrk
Sergey A. Osokin
osa at FreeBSD.org
Wed Aug 1 17:54:33 UTC 2012
Author: osa
Date: Wed Aug 1 17:54:32 2012
New Revision: 301836
URL: http://svn.freebsd.org/changeset/ports/301836
Log:
Add wrk - a HTTP benchmarking tool.
Requested by: maxim
Added:
head/benchmarks/wrk/
head/benchmarks/wrk/Makefile (contents, props changed)
head/benchmarks/wrk/distinfo (contents, props changed)
head/benchmarks/wrk/pkg-descr (contents, props changed)
Modified:
head/benchmarks/Makefile
Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile Wed Aug 1 17:40:12 2012 (r301835)
+++ head/benchmarks/Makefile Wed Aug 1 17:54:32 2012 (r301836)
@@ -71,6 +71,7 @@
SUBDIR += ubench
SUBDIR += unixbench
SUBDIR += webbench
+ SUBDIR += wrk
SUBDIR += xdd
SUBDIR += xengine
Added: head/benchmarks/wrk/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/wrk/Makefile Wed Aug 1 17:54:32 2012 (r301836)
@@ -0,0 +1,33 @@
+# New ports collection makefile for: wrk
+# Date created: 01 Aug 2012
+# Whom: Sergey A. Osokin <osa at FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wrk
+PORTVERSION= 1.0.0
+CATEGORIES= benchmarks www
+MASTER_SITES= http://github.com/wg/${PORTNAME}/tarball/master/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-${GITVERSION}
+
+MAINTAINER= osa at FreeBSD.org
+COMMENT= The modern HTTP benchmarking tool
+
+LICENSE= AL2
+
+FETCH_ARGS= -pRr
+GITVERSION= 0-g6d143f1
+WRKSRC= ${WRKDIR}/wg-${PORTNAME}-${GITVERSION:S/^0-g//}
+USE_GMAKE= yes
+CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
+
+PLIST_FILES= bin/wrk
+
+post-patch:
+ @${REINPLACE_CMD} '1d' ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
Added: head/benchmarks/wrk/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/wrk/distinfo Wed Aug 1 17:54:32 2012 (r301836)
@@ -0,0 +1,2 @@
+SHA256 (wrk-1.0.0-0-g6d143f1.tar.gz) = 39de439025c6b93aa2f8cf81ab1e6f27e955275969de85510bf7a0364a27a05f
+SIZE (wrk-1.0.0-0-g6d143f1.tar.gz) = 37347
Added: head/benchmarks/wrk/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/wrk/pkg-descr Wed Aug 1 17:54:32 2012 (r301836)
@@ -0,0 +1,5 @@
+wrk is a modern HTTP benchmarking tool capable of generating significant
+load when run on a single multi-core CPU. It combines a multithreaded
+design with scalable event notification systems such as epoll and kqueue.
+
+WWW: https://github.com/wg/wrk/
More information about the svn-ports-all
mailing list