summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-12-14 20:16:43 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-12-14 20:16:43 +0000
commit5ce5c2877325a4eb893dfceaffb25d3e15c60740 (patch)
tree56b4068b294607b4c9cda98c75c462881a092455 /benchmarks
parent- gcc4 compatiblity (diff)
This is GSBench for GNUstep. It started as a simple conversion of NXBench for
NEXTSTEP. I rewrote the entire application for version 0.5 in order to have an open architecture which allows the integration of other benchmarks by using bundles. WWW: http://www.nice.ch/~phip/softcorner.html
Notes
Notes: svn path=/head/; revision=179777
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/gsbench/Makefile25
-rw-r--r--benchmarks/gsbench/distinfo3
-rw-r--r--benchmarks/gsbench/files/patch-dhry_1.c10
-rw-r--r--benchmarks/gsbench/pkg-descr6
-rw-r--r--benchmarks/gsbench/pkg-plist20
6 files changed, 65 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 07c01ad617b0..adbed5f87e25 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -13,6 +13,7 @@
SUBDIR += fhourstones
SUBDIR += flops
SUBDIR += forkbomb
+ SUBDIR += gsbench
SUBDIR += gtkperf
SUBDIR += himenobench
SUBDIR += hpl
diff --git a/benchmarks/gsbench/Makefile b/benchmarks/gsbench/Makefile
new file mode 100644
index 000000000000..dcce0e4c307d
--- /dev/null
+++ b/benchmarks/gsbench/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: gsbench
+# Date created: 1 Dec 2006
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= gsbench
+PORTVERSION= 0.5.1
+CATEGORIES= benchmarks
+MASTER_SITES= http://www.nice.ch/~phip/
+DISTNAME= GSBench-${PORTVERSION}
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= Benchmarking tool for GNUstep
+
+USE_GNUSTEP= yes
+USE_GNUSTEP_PREFIX= yes
+USE_GNUSTEP_BACK= yes
+USE_GNUSTEP_BUILD= yes
+USE_GNUSTEP_INSTALL= yes
+
+WRKSRC= ${WRKDIR}/GSBench
+
+.include <bsd.port.mk>
diff --git a/benchmarks/gsbench/distinfo b/benchmarks/gsbench/distinfo
new file mode 100644
index 000000000000..6a245fa2f10e
--- /dev/null
+++ b/benchmarks/gsbench/distinfo
@@ -0,0 +1,3 @@
+MD5 (GSBench-0.5.1.tar.gz) = 70e5333d4118313c09116cf89a341f5b
+SHA256 (GSBench-0.5.1.tar.gz) = f5161111ab1b9c19d047b7e7d1d9702dc04bf619805a2779ae752a70d52886f0
+SIZE (GSBench-0.5.1.tar.gz) = 33803
diff --git a/benchmarks/gsbench/files/patch-dhry_1.c b/benchmarks/gsbench/files/patch-dhry_1.c
new file mode 100644
index 000000000000..154e83c7a125
--- /dev/null
+++ b/benchmarks/gsbench/files/patch-dhry_1.c
@@ -0,0 +1,10 @@
+--- Bundles/Dhry/dhry_1.c.orig Sun Jan 14 11:47:31 2001
++++ Bundles/Dhry/dhry_1.c Thu Dec 14 16:59:23 2006
+@@ -66,7 +66,6 @@
+ int Arr_2_Glob [50] [50];
+
+ extern char *malloc ();
+-Enumeration Func_1 ();
+ /* forward declaration necessary since Enumeration may not simply be int */
+
+ #ifndef REG
diff --git a/benchmarks/gsbench/pkg-descr b/benchmarks/gsbench/pkg-descr
new file mode 100644
index 000000000000..974101623930
--- /dev/null
+++ b/benchmarks/gsbench/pkg-descr
@@ -0,0 +1,6 @@
+This is GSBench for GNUstep. It started as a simple conversion of NXBench for
+NEXTSTEP. I rewrote the entire application for version 0.5 in order to have an
+open architecture which allows the integration of other benchmarks by using
+bundles.
+
+WWW: http://www.nice.ch/~phip/softcorner.html
diff --git a/benchmarks/gsbench/pkg-plist b/benchmarks/gsbench/pkg-plist
new file mode 100644
index 000000000000..64b00655faa0
--- /dev/null
+++ b/benchmarks/gsbench/pkg-plist
@@ -0,0 +1,20 @@
+Local/Applications/GSBench.app/GSBench
+Local/Applications/GSBench.app/Resources/Bundles.plist
+Local/Applications/GSBench.app/Resources/GSBench.desktop
+Local/Applications/GSBench.app/Resources/GSBench.tiff
+Local/Applications/GSBench.app/Resources/GSBenchInfo.plist
+Local/Applications/GSBench.app/Resources/Info-gnustep.plist
+Local/Applications/GSBench.app/library_paths.openapp
+Local/Applications/GSBench.app/stamp.make
+Local/Library/Bundles/Dhry.bundle/Dhry
+Local/Library/Bundles/Dhry.bundle/Resources/Info-gnustep.plist
+Local/Library/Bundles/Dhry.bundle/stamp.make
+Local/Library/Bundles/GSFactor.bundle/GSFactor
+Local/Library/Bundles/GSFactor.bundle/Resources/Info-gnustep.plist
+Local/Library/Bundles/GSFactor.bundle/stamp.make
+@dirrm Local/Library/Bundles/GSFactor.bundle/Resources
+@dirrm Local/Library/Bundles/GSFactor.bundle
+@dirrm Local/Library/Bundles/Dhry.bundle/Resources
+@dirrm Local/Library/Bundles/Dhry.bundle
+@dirrm Local/Applications/GSBench.app/Resources
+@dirrm Local/Applications/GSBench.app