From owner-svn-ports-head@freebsd.org Thu Mar 1 17:37:52 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B51F1F3E6BE; Thu, 1 Mar 2018 17:37:52 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6081371B4E; Thu, 1 Mar 2018 17:37:52 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 56EC140D3; Thu, 1 Mar 2018 17:37:52 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w21HbqgI094089; Thu, 1 Mar 2018 17:37:52 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w21HbpuC094085; Thu, 1 Mar 2018 17:37:51 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201803011737.w21HbpuC094085@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Thu, 1 Mar 2018 17:37:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463346 - in head/benchmarks: . apib X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/benchmarks: . apib X-SVN-Commit-Revision: 463346 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2018 17:37:53 -0000 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 +# $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 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