git: ccb317a68c0e - main - Add benchmarks/plow: HTTP benchmarking tool with real-time web UI and terminal displaying

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 25 Oct 2022 12:56:58 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccb317a68c0e5ac8a935b89aee8deb92d7730f72

commit ccb317a68c0e5ac8a935b89aee8deb92d7730f72
Author:     Gabriel M. Dutra <0xdutra@gmail.com>
AuthorDate: 2022-10-25 12:56:00 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-10-25 12:56:00 +0000

    Add benchmarks/plow: HTTP benchmarking tool with real-time web UI and terminal displaying
    
    PR:             266588
---
 benchmarks/Makefile       |  1 +
 benchmarks/plow/Makefile  | 19 +++++++++++++++++++
 benchmarks/plow/distinfo  |  5 +++++
 benchmarks/plow/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 227bd227ef85..dad0c0d4115b 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -71,6 +71,7 @@
     SUBDIR += perftest
     SUBDIR += phoronix-test-suite
     SUBDIR += pipebench
+    SUBDIR += plow
     SUBDIR += polygraph
     SUBDIR += postal
     SUBDIR += postmark
diff --git a/benchmarks/plow/Makefile b/benchmarks/plow/Makefile
new file mode 100644
index 000000000000..d6286bdbc9bb
--- /dev/null
+++ b/benchmarks/plow/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	plow
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.1
+CATEGORIES=	benchmarks
+
+MAINTAINER=	0xdutra@gmail.com
+COMMENT=	HTTP benchmarking tool with real-time web UI and terminal displaying
+WWW=		https://github.com/six-ddc/plow
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/six-ddc/plow
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/benchmarks/plow/distinfo b/benchmarks/plow/distinfo
new file mode 100644
index 000000000000..0ef2c33ffb2b
--- /dev/null
+++ b/benchmarks/plow/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1664069439
+SHA256 (go/benchmarks_plow/plow-v1.3.1/v1.3.1.mod) = 3ac99f55827a991f72a1d5ae368ae18355e4dfb1904cc10310416ca916ad3035
+SIZE (go/benchmarks_plow/plow-v1.3.1/v1.3.1.mod) = 1187
+SHA256 (go/benchmarks_plow/plow-v1.3.1/v1.3.1.zip) = 264c905be837d437f5b761f8a9a98609f23eec5189ed0d60c1fab6d21c9b7f43
+SIZE (go/benchmarks_plow/plow-v1.3.1/v1.3.1.zip) = 2645687
diff --git a/benchmarks/plow/pkg-descr b/benchmarks/plow/pkg-descr
new file mode 100644
index 000000000000..8dc4addcc8fb
--- /dev/null
+++ b/benchmarks/plow/pkg-descr
@@ -0,0 +1,2 @@
+HTTP(S) benchmarking tool, written in Golang. It uses excellent fasthttp
+instead of Go's default net/http due to its lightning fast performance.