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
This commit is contained in:
Alexey Dokuchaev 2018-03-01 17:37:51 +00:00
parent acfcdc7aee
commit 76d701a265
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463346
4 changed files with 56 additions and 0 deletions

View File

@ -3,6 +3,7 @@
COMMENT = Benchmarking tools
SUBDIR += apib
SUBDIR += autobench
SUBDIR += blogbench
SUBDIR += bombardier

36
benchmarks/apib/Makefile Normal file
View File

@ -0,0 +1,36 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= apib
PORTVERSION= 1.0
CATEGORIES= benchmarks www
MAINTAINER= danfe@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>

3
benchmarks/apib/distinfo Normal file
View File

@ -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

16
benchmarks/apib/pkg-descr Normal file
View File

@ -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