summaryrefslogtreecommitdiffstats
path: root/benchmarks/sysbench
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-12-11 13:56:12 +0000
committerbarner <barner@FreeBSD.org>2005-12-11 13:56:12 +0000
commit38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344 (patch)
treeef87ef19f46912213dd7eb0432595e5a46f64fdb /benchmarks/sysbench
parenta8b8523fa2ba4f84f72188cf79d42950e6a041ea (diff)
downloadFreeBSD-ports-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.zip
FreeBSD-ports-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.tar.gz
Add sysbench 0.4.3,
a modular, cross-platform and multi-threaded benchmark tool. PR: 90233 Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Diffstat (limited to 'benchmarks/sysbench')
-rw-r--r--benchmarks/sysbench/Makefile41
-rw-r--r--benchmarks/sysbench/distinfo3
-rw-r--r--benchmarks/sysbench/pkg-descr21
-rw-r--r--benchmarks/sysbench/pkg-plist3
4 files changed, 68 insertions, 0 deletions
diff --git a/benchmarks/sysbench/Makefile b/benchmarks/sysbench/Makefile
new file mode 100644
index 0000000..0087cf8
--- /dev/null
+++ b/benchmarks/sysbench/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: sysbench
+# Date created: 2005-12-11
+# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sysbench
+PORTVERSION= 0.4.3
+CATEGORIES= benchmarks databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= gslin@ccca.nctu.edu.tw
+COMMENT= A modular, cross-platform and multi-threaded benchmark tool
+
+GNU_CONFIGURE= yes
+
+OPTIONS= MYSQL "Enable MySQL support" on \
+ POSTGRESQL "Enable PostgreSQL support" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_MYSQL)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql
+.endif
+
+.if defined(WITH_POSTGRESQL)
+USE_PGSQL= yes
+WANT_PGSQL_VER?= 80
+CONFIGURE_ARGS+= --with-pgsql
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sysbench/sysbench ${PREFIX}/bin
+.for FILE in sb_run.sh sb_test_ps.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${FILE} ${PREFIX}/bin
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/benchmarks/sysbench/distinfo b/benchmarks/sysbench/distinfo
new file mode 100644
index 0000000..9941163
--- /dev/null
+++ b/benchmarks/sysbench/distinfo
@@ -0,0 +1,3 @@
+MD5 (sysbench-0.4.3.tar.gz) = 34ad20419aeeba78363a340d58ebca3a
+SHA256 (sysbench-0.4.3.tar.gz) = 09ed77a640aa6bbcdf11430c9d4de1f6b7faf69dab54899ff5d5c957e40298d3
+SIZE (sysbench-0.4.3.tar.gz) = 480318
diff --git a/benchmarks/sysbench/pkg-descr b/benchmarks/sysbench/pkg-descr
new file mode 100644
index 0000000..d98c496
--- /dev/null
+++ b/benchmarks/sysbench/pkg-descr
@@ -0,0 +1,21 @@
+SysBench is a modular, cross-platform and multi-threaded benchmark tool
+for evaluating OS parameters that are important for a system running a
+database under intensive load.
+
+The idea of this benchmark suite is to quickly get an impression about
+system performance without setting up complex database benchmarks or
+even without installing a database at all.
+
+Current features allow to test the following system parameters:
+
+ * file I/O performance
+ * scheduler performance
+ * memory allocation and transfer speed
+ * POSIX threads implementation performance
+ * database server performance (OLTP benchmark)
+
+Primarily written for MySQL server benchmarking, SysBench will be
+further extended to support multiple database backends, distributed
+benchmarks and third-party plug-in modules.
+
+WWW: http://sysbench.sourceforge.net/
diff --git a/benchmarks/sysbench/pkg-plist b/benchmarks/sysbench/pkg-plist
new file mode 100644
index 0000000..22cfe41
--- /dev/null
+++ b/benchmarks/sysbench/pkg-plist
@@ -0,0 +1,3 @@
+bin/sb_run.sh
+bin/sb_test_ps.sh
+bin/sysbench
OpenPOWER on IntegriCloud