summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-09-03 06:26:21 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-09-03 06:26:21 +0000
commitf0a8f47510f0f2ae783dd2141db804eed39a4226 (patch)
tree2ce07d3fb6e0ba291a93d18827d648e0a8b2bbd3 /benchmarks
parent690e515fa91a01c1c83bd281ee97e6ad05991e02 (diff)
downloadpkgsrc-f0a8f47510f0f2ae783dd2141db804eed39a4226.tar.gz
Initial import of nbench-2.2.2.
This benchmark utility is used to determine how the processor, its caches and coprocessors influence overall system performance. Its measurements can indicate problems with the processor subsystem and (since the processor is a major influence on overall system system performance) give us an idea of how well a given system will perform.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/nbench/DESCR6
-rw-r--r--benchmarks/nbench/Makefile20
-rw-r--r--benchmarks/nbench/PLIST2
-rw-r--r--benchmarks/nbench/distinfo6
-rw-r--r--benchmarks/nbench/patches/patch-aa17
5 files changed, 51 insertions, 0 deletions
diff --git a/benchmarks/nbench/DESCR b/benchmarks/nbench/DESCR
new file mode 100644
index 00000000000..994a05c40f4
--- /dev/null
+++ b/benchmarks/nbench/DESCR
@@ -0,0 +1,6 @@
+This benchmark utility is used to determine how the processor,
+its caches and coprocessors influence overall system performance.
+Its measurements can indicate problems with the processor subsystem
+and (since the processor is a major influence on overall system
+system performance) give us an idea of how well a given system will
+perform.
diff --git a/benchmarks/nbench/Makefile b/benchmarks/nbench/Makefile
new file mode 100644
index 00000000000..ef7c6f75558
--- /dev/null
+++ b/benchmarks/nbench/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/09/03 06:26:21 xtraeme Exp $
+#
+
+DISTNAME= nbench-byte-2.2.2
+PKGNAME= ${DISTNAME:S/-byte//}
+CATEGORIES= benchmarks
+MASTER_SITES= http://www.tux.org/~mayer/linux/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.tux.org/~mayer/linux/
+COMMENT= Benchmark tool for CPU, FPU and memory
+
+BUILD_TARGET= default
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/nbench/PLIST b/benchmarks/nbench/PLIST
new file mode 100644
index 00000000000..bb320e5258b
--- /dev/null
+++ b/benchmarks/nbench/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/03 06:26:21 xtraeme Exp $
+bin/nbench
diff --git a/benchmarks/nbench/distinfo b/benchmarks/nbench/distinfo
new file mode 100644
index 00000000000..618c72e514c
--- /dev/null
+++ b/benchmarks/nbench/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/09/03 06:26:21 xtraeme Exp $
+
+SHA1 (nbench-byte-2.2.2.tar.gz) = 2ad7c76fb88f80e475650dd3802c187195cc80c1
+RMD160 (nbench-byte-2.2.2.tar.gz) = 78b8e1eaf3c24ca8c619a90693265402a4f8be68
+Size (nbench-byte-2.2.2.tar.gz) = 111751 bytes
+SHA1 (patch-aa) = 5beabbb962fc2a56b5561b6d5a3eaa882af3dbd1
diff --git a/benchmarks/nbench/patches/patch-aa b/benchmarks/nbench/patches/patch-aa
new file mode 100644
index 00000000000..7c955a639ae
--- /dev/null
+++ b/benchmarks/nbench/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/09/03 06:26:21 xtraeme Exp $
+
+--- Makefile.orig 2005-09-03 08:16:12.000000000 +0200
++++ Makefile 2005-09-03 08:16:51.000000000 +0200
+@@ -19,10 +19,10 @@
+ # You should leave -static in the CFLAGS so that your sysinfo can be
+ # compiled into the executable.
+
+-CC = gcc
++#CC = gcc
+
+ # generic options for gcc
+-CFLAGS = -s -static -Wall -O3
++CFLAGS += -s -static # -Wall -O3
+
+ # if your gcc lets you do it, then try this one
+ #CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops