summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-18 03:17:18 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-18 03:17:18 +0000
commitb2fbb96578550926f227fdf5a65657ad2b0fcea3 (patch)
treedac5b7cea0eec33cf98fbdd68ed19d99fa1c5269 /benchmarks
parentNew port: Tool to convert Outlook .pst to Unix mbox (diff)
misc/pipebench -> benchmarks/pipebench
Notes
Notes: svn path=/head/; revision=73368
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/pipebench/Makefile27
-rw-r--r--benchmarks/pipebench/distinfo1
-rw-r--r--benchmarks/pipebench/pkg-comment1
-rw-r--r--benchmarks/pipebench/pkg-descr8
-rw-r--r--benchmarks/pipebench/pkg-plist1
6 files changed, 39 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index bff9824dedbd..b1ff9fed14b8 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -12,6 +12,7 @@
SUBDIR += nbench
SUBDIR += netperf
SUBDIR += netpipe
+ SUBDIR += pipebench
SUBDIR += polygraph
SUBDIR += postal
SUBDIR += postmark
diff --git a/benchmarks/pipebench/Makefile b/benchmarks/pipebench/Makefile
new file mode 100644
index 000000000000..2e14cda1539b
--- /dev/null
+++ b/benchmarks/pipebench/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# New ports collection makefile for: pipebench
+# Date created: Jan 14, 2003
+# Whom: mich@freebsdcluster.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= pipebench
+PORTVERSION= 0.20
+CATEGORIES= benchmarks
+MASTER_SITES= ftp://ftp.habets.pp.se/pub/synscan/
+
+MAINTAINER= mich@freebsdcluster.org
+
+USE_REINPLACE= yes
+
+post-patch:
+post-patch:
+ @${REINPLACE_CMD} -e "s|^CC|#CC|g" \
+ -e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/pipebench ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/pipebench.1 ${PREFIX}/man/man1
+
+MAN1= pipebench.1
+.include <bsd.port.mk>
diff --git a/benchmarks/pipebench/distinfo b/benchmarks/pipebench/distinfo
new file mode 100644
index 000000000000..d2ecfcf85b62
--- /dev/null
+++ b/benchmarks/pipebench/distinfo
@@ -0,0 +1 @@
+MD5 (pipebench-0.20.tar.gz) = 87093497c36ab29190777bf2c7f381a3
diff --git a/benchmarks/pipebench/pkg-comment b/benchmarks/pipebench/pkg-comment
new file mode 100644
index 000000000000..ed3fb8697ccb
--- /dev/null
+++ b/benchmarks/pipebench/pkg-comment
@@ -0,0 +1 @@
+Pipebench shows current throughput/amount of data through a pipe
diff --git a/benchmarks/pipebench/pkg-descr b/benchmarks/pipebench/pkg-descr
new file mode 100644
index 000000000000..6b1453945bbe
--- /dev/null
+++ b/benchmarks/pipebench/pkg-descr
@@ -0,0 +1,8 @@
+Pipebench shows the current throughput and amount of data going through a
+pipe. It can be used to show the progress of a large md5sum process:
+cat bigfile | pipebench | md5sum.
+
+WWW: http://www.habets.pp.se/synscan/programs.php?prog=pipebench
+
+ - Michael L. Hostbaek
+ mich@freebsdcluster.org
diff --git a/benchmarks/pipebench/pkg-plist b/benchmarks/pipebench/pkg-plist
new file mode 100644
index 000000000000..5140f6dec434
--- /dev/null
+++ b/benchmarks/pipebench/pkg-plist
@@ -0,0 +1 @@
+bin/pipebench