summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>1996-01-01 22:57:36 +0000
committerStefan Eßer <se@FreeBSD.org>1996-01-01 22:57:36 +0000
commit0fa3c4a3a1866acd9239fb488749b4a0728f90d3 (patch)
treee8eb006182397336b172b9695557f66eedd84b46 /benchmarks
parentDo not clobber existen configuration (diff)
The BYTE benchmark suite, very popular under Linux users as it seems.
(See: http://www.silkroad.com/bass/linux/bm.html for results ...) This is another benchmark that tries to give a single performance number, but without giving much thought to proper weighting of the performance numbers. So: Please handle with care ...
Notes
Notes: svn path=/head/; revision=2594
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/Makefile18
-rw-r--r--benchmarks/bytebench/distinfo1
-rw-r--r--benchmarks/bytebench/files/patch-aa85
-rw-r--r--benchmarks/unixbench/Makefile18
-rw-r--r--benchmarks/unixbench/distinfo1
-rw-r--r--benchmarks/unixbench/files/patch-aa85
6 files changed, 208 insertions, 0 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
new file mode 100644
index 000000000000..9b31eb73e85d
--- /dev/null
+++ b/benchmarks/bytebench/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: byte
+# Version required:
+# Date created: 28 December 1995
+# Whom: se
+#
+# $Id: Makefile,v 1.3 1995/11/22 11:36:48 asami Exp $
+#
+
+DISTNAME= bytebench-3.1
+EXTRACT_SUFX= .tar.Z
+CATEGORIES+= benchmarks
+MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
+
+MAINTAINER= se@FreeBSD.org
+
+CFLAGS+= -static
+
+.include <bsd.port.mk>
diff --git a/benchmarks/bytebench/distinfo b/benchmarks/bytebench/distinfo
new file mode 100644
index 000000000000..23a74ac768ae
--- /dev/null
+++ b/benchmarks/bytebench/distinfo
@@ -0,0 +1 @@
+MD5 (bytebench-3.1.tar.Z) = 93c718fee38d27c050edcb3a50530b2e
diff --git a/benchmarks/bytebench/files/patch-aa b/benchmarks/bytebench/files/patch-aa
new file mode 100644
index 000000000000..d5078069853d
--- /dev/null
+++ b/benchmarks/bytebench/files/patch-aa
@@ -0,0 +1,85 @@
+*** Makefile.orig Wed Feb 5 11:08:43 1992
+--- Makefile Mon Jan 1 23:20:07 1996
+***************
+*** 25,33 ****
+ ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
+ SHELL = /bin/sh
+! #HZ = ???? #(read from environment)
+ CFLAGS = -DTIME
+! OPTON = -O #optimization on (give it your best shot)
+! # -- check your compiler man
+! OPTOFF = -Od #optimization off -- check your compiler man
+ # local directories
+ PROGDIR = ./pgms
+--- 25,34 ----
+ ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
+ SHELL = /bin/sh
+! HZ = 100
+ CFLAGS = -DTIME
+! OPTON = -s -static -O -m486 -finline-functions -funroll-loops -fomit-frame-pointer
+! #optimization on (give it your best shot)
+! # -- check your compiler man
+! OPTOFF = -O0 -static #optimization off -- check your compiler man
+ # local directories
+ PROGDIR = ./pgms
+***************
+*** 36,40 ****
+ TESTDIR = ./testdir
+ RESULTDIR = ./results
+! TMPDIR = ./tmp
+ # other directories
+ INCLDIR = /usr/include
+--- 37,41 ----
+ TESTDIR = ./testdir
+ RESULTDIR = ./results
+! # TMPDIR = ./tmp
+ # other directories
+ INCLDIR = /usr/include
+*** Run.orig Wed Feb 5 11:08:46 1992
+--- Run Mon Jan 1 23:26:00 1996
+***************
+*** 41,45 ****
+ # awk cat cc chmod comm cp date dc df echo ed expr
+ # kill ls make mkdir rm sed test time touch tty umask who
+! # AND /bin/time
+ # to generate result indexes, you will also need ...
+ # join
+--- 41,45 ----
+ # awk cat cc chmod comm cp date dc df echo ed expr
+ # kill ls make mkdir rm sed test time touch tty umask who
+! # AND /usr/bin/time
+ # to generate result indexes, you will also need ...
+ # join
+***************
+*** 51,55 ****
+ then
+ # determine flavor of UNIX from number of lines generated by /bin/tim
+! Fcount=`/bin/time date 2>&1 | wc -l | sed 's/ //g'`
+ case "$Fcount"
+ in
+--- 51,55 ----
+ then
+ # determine flavor of UNIX from number of lines generated by /bin/tim
+! Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'`
+ case "$Fcount"
+ in
+***************
+*** 418,426 ****
+ if test "$stdin" = ""
+ then # without redirected stdin
+! /bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout
+ else # with redirected stdin
+! /bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout
+ fi
+- /bin/time $benchcmd
+ ###############################################
+ cd $pwd # move back home
+--- 418,425 ----
+ if test "$stdin" = ""
+ then # without redirected stdin
+! /usr/bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout
+ else # with redirected stdin
+! /usr/bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout
+ fi
+ ###############################################
+ cd $pwd # move back home
diff --git a/benchmarks/unixbench/Makefile b/benchmarks/unixbench/Makefile
new file mode 100644
index 000000000000..9b31eb73e85d
--- /dev/null
+++ b/benchmarks/unixbench/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: byte
+# Version required:
+# Date created: 28 December 1995
+# Whom: se
+#
+# $Id: Makefile,v 1.3 1995/11/22 11:36:48 asami Exp $
+#
+
+DISTNAME= bytebench-3.1
+EXTRACT_SUFX= .tar.Z
+CATEGORIES+= benchmarks
+MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
+
+MAINTAINER= se@FreeBSD.org
+
+CFLAGS+= -static
+
+.include <bsd.port.mk>
diff --git a/benchmarks/unixbench/distinfo b/benchmarks/unixbench/distinfo
new file mode 100644
index 000000000000..23a74ac768ae
--- /dev/null
+++ b/benchmarks/unixbench/distinfo
@@ -0,0 +1 @@
+MD5 (bytebench-3.1.tar.Z) = 93c718fee38d27c050edcb3a50530b2e
diff --git a/benchmarks/unixbench/files/patch-aa b/benchmarks/unixbench/files/patch-aa
new file mode 100644
index 000000000000..d5078069853d
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-aa
@@ -0,0 +1,85 @@
+*** Makefile.orig Wed Feb 5 11:08:43 1992
+--- Makefile Mon Jan 1 23:20:07 1996
+***************
+*** 25,33 ****
+ ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
+ SHELL = /bin/sh
+! #HZ = ???? #(read from environment)
+ CFLAGS = -DTIME
+! OPTON = -O #optimization on (give it your best shot)
+! # -- check your compiler man
+! OPTOFF = -Od #optimization off -- check your compiler man
+ # local directories
+ PROGDIR = ./pgms
+--- 25,34 ----
+ ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
+ SHELL = /bin/sh
+! HZ = 100
+ CFLAGS = -DTIME
+! OPTON = -s -static -O -m486 -finline-functions -funroll-loops -fomit-frame-pointer
+! #optimization on (give it your best shot)
+! # -- check your compiler man
+! OPTOFF = -O0 -static #optimization off -- check your compiler man
+ # local directories
+ PROGDIR = ./pgms
+***************
+*** 36,40 ****
+ TESTDIR = ./testdir
+ RESULTDIR = ./results
+! TMPDIR = ./tmp
+ # other directories
+ INCLDIR = /usr/include
+--- 37,41 ----
+ TESTDIR = ./testdir
+ RESULTDIR = ./results
+! # TMPDIR = ./tmp
+ # other directories
+ INCLDIR = /usr/include
+*** Run.orig Wed Feb 5 11:08:46 1992
+--- Run Mon Jan 1 23:26:00 1996
+***************
+*** 41,45 ****
+ # awk cat cc chmod comm cp date dc df echo ed expr
+ # kill ls make mkdir rm sed test time touch tty umask who
+! # AND /bin/time
+ # to generate result indexes, you will also need ...
+ # join
+--- 41,45 ----
+ # awk cat cc chmod comm cp date dc df echo ed expr
+ # kill ls make mkdir rm sed test time touch tty umask who
+! # AND /usr/bin/time
+ # to generate result indexes, you will also need ...
+ # join
+***************
+*** 51,55 ****
+ then
+ # determine flavor of UNIX from number of lines generated by /bin/tim
+! Fcount=`/bin/time date 2>&1 | wc -l | sed 's/ //g'`
+ case "$Fcount"
+ in
+--- 51,55 ----
+ then
+ # determine flavor of UNIX from number of lines generated by /bin/tim
+! Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'`
+ case "$Fcount"
+ in
+***************
+*** 418,426 ****
+ if test "$stdin" = ""
+ then # without redirected stdin
+! /bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout
+ else # with redirected stdin
+! /bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout
+ fi
+- /bin/time $benchcmd
+ ###############################################
+ cd $pwd # move back home
+--- 418,425 ----
+ if test "$stdin" = ""
+ then # without redirected stdin
+! /usr/bin/time $prog $opt $bgstr 2>>$TMPTIMES >>$stdout
+ else # with redirected stdin
+! /usr/bin/time $prog $opt $bgstr <$stdin 2>>$TMPTIMES >>$stdout
+ fi
+ ###############################################
+ cd $pwd # move back home