Browse Source

benchmarks/hey: Add port from upstream

master
Bernhard Fröhlich 6 months ago
parent
commit
076650ca33
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
3 changed files with 41 additions and 0 deletions
  1. 33
    0
      benchmarks/hey/Makefile
  2. 5
    0
      benchmarks/hey/distinfo
  3. 3
    0
      benchmarks/hey/pkg-descr

+ 33
- 0
benchmarks/hey/Makefile View File

@@ -0,0 +1,33 @@
# Created by: Brad Davis <brd@FreeBSD.org>
# $FreeBSD: head/benchmarks/hey/Makefile 463776 2018-03-07 08:06:24Z yuri $

PORTNAME= hey
PORTVERSION= 0.1.0
DISTVERSIONPREFIX= v
CATEGORIES= benchmarks

MAINTAINER= brd@FreeBSD.org
COMMENT= Tiny program that sends some load to a web application

BUILD_DEPENDS= go>=1.7:lang/go

USE_GITHUB= yes
GH_ACCOUNT= rakyll

GH_TUPLE= golang:net:41bba8d:net/src/golang.org/x/net

PLIST_FILES= bin/hey

do-build:
( cd ${WRKSRC}; \
${MKDIR} src/github.com/rakyll/hey; \
cd src/github.com/rakyll/hey; \
${LN} -s ../../../../requester . )
( cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
go build ${BUILD_FLAGS} )

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>

+ 5
- 0
benchmarks/hey/distinfo View File

@@ -0,0 +1,5 @@
TIMESTAMP = 1497559091
SHA256 (rakyll-hey-v0.1.0_GH0.tar.gz) = a8127634e21897c587c6c375f88121e907ce4af8bf71374db44c5d752ae4a296
SIZE (rakyll-hey-v0.1.0_GH0.tar.gz) = 11853
SHA256 (golang-net-41bba8d_GH0.tar.gz) = 003c999bb8c3d73cc3dae0ca48e8afcb77cf58cb6e2b25b4486ff602deacb8eb
SIZE (golang-net-41bba8d_GH0.tar.gz) = 770083

+ 3
- 0
benchmarks/hey/pkg-descr View File

@@ -0,0 +1,3 @@
hey is tool to to test HTTP/HTTP2 performance.

WWW: https://github.com/rakyll/hey

Loading…
Cancel
Save