svn commit: r463346 - in head/benchmarks: . apib
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Mar 1 17:37:53 UTC 2018
Author: danfe
Date: Thu Mar 1 17:37:51 2018
New Revision: 463346
URL: https://svnweb.freebsd.org/changeset/ports/463346
Log:
apib is a tool that makes it easy to test API servers. It is supported
on Unix systems that include the Apache Portable Runtime and OpenSSL.
WWW: https://github.com/apigee/apib
Added:
head/benchmarks/apib/
head/benchmarks/apib/Makefile (contents, props changed)
head/benchmarks/apib/distinfo (contents, props changed)
head/benchmarks/apib/pkg-descr (contents, props changed)
Modified:
head/benchmarks/Makefile
Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile Thu Mar 1 17:19:10 2018 (r463345)
+++ head/benchmarks/Makefile Thu Mar 1 17:37:51 2018 (r463346)
@@ -3,6 +3,7 @@
COMMENT = Benchmarking tools
+ SUBDIR += apib
SUBDIR += autobench
SUBDIR += blogbench
SUBDIR += bombardier
Added: head/benchmarks/apib/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/apib/Makefile Thu Mar 1 17:37:51 2018 (r463346)
@@ -0,0 +1,36 @@
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= apib
+PORTVERSION= 1.0
+CATEGORIES= benchmarks www
+
+MAINTAINER= danfe at FreeBSD.org
+COMMENT= Simple, fast HTTP performance-testing tool
+
+LICENSE= APACHE20
+
+LIB_DEPENDS= libapr-1.so:devel/apr1
+
+USE_GITHUB= yes
+GH_ACCOUNT= apigee
+GH_TAGNAME= 7e8dea9
+
+USES= localbase ssl
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= APR_LOC="${LOCALBASE}/include/apr-1"
+
+PLIST_FILES= bin/apib bin/apibmon
+PORTEXAMPLES= env.sh pivot run.sh rungroup.sh tojson
+
+OPTIONS_DEFINE= EXAMPLES
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/apib ${WRKSRC}/apibmon \
+ ${STAGEDIR}${PREFIX}/bin
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samplescripts/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Added: head/benchmarks/apib/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/apib/distinfo Thu Mar 1 17:37:51 2018 (r463346)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503959917
+SHA256 (apigee-apib-1.0-7e8dea9_GH0.tar.gz) = d54d3abef0123071d349aff47b6bf7477ad45056c876a704e6693c894da3611e
+SIZE (apigee-apib-1.0-7e8dea9_GH0.tar.gz) = 77363
Added: head/benchmarks/apib/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/apib/pkg-descr Thu Mar 1 17:37:51 2018 (r463346)
@@ -0,0 +1,16 @@
+apib is a tool that makes it easy to test API servers. It is supported
+on Unix systems that include the Apache Portable Runtime and OpenSSL.
+
+apib has most of the features of Apache Bench (ab), but is also intended
+to be a more modern replacement. In particular, it supports:
+
+ - Proper HTTP 1.1 support including keep-alives and chunked encoding
+ - Ability to spawn multiple I/O threads to take advantage of multiple
+ CPU cores
+ - Non-blocking I/O for high concurrency
+ - Support for POST and PUT of large objects
+ - Support for OAuth 1.0 signatures
+ - Ability to output results to a file so they may be automated
+ - Remote CPU monitoring
+
+WWW: https://github.com/apigee/apib
More information about the svn-ports-head
mailing list