aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-12-11 20:02:14 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-12-11 20:02:14 +0000
commit84bca8ba72289bcbf5dd938112e30bca674c515c (patch)
treefb11daf3c8573afed54edb0c2418824b89a8b9fa /benchmarks
parent76976058856e306074c078f29974831efffbde73 (diff)
downloadports-84bca8ba72289bcbf5dd938112e30bca674c515c.tar.gz
ports-84bca8ba72289bcbf5dd938112e30bca674c515c.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/nosqlbench/Makefile24
-rw-r--r--benchmarks/nosqlbench/distinfo2
-rw-r--r--benchmarks/nosqlbench/pkg-descr6
-rw-r--r--benchmarks/nosqlbench/pkg-plist4
5 files changed, 37 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 07cb3aeb5ee4..bc87ca1843e6 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -34,6 +34,7 @@
SUBDIR += netperf
SUBDIR += netperfmeter
SUBDIR += netpipe
+ SUBDIR += nosqlbench
SUBDIR += nqueens
SUBDIR += nttcp
SUBDIR += nuttcp
diff --git a/benchmarks/nosqlbench/Makefile b/benchmarks/nosqlbench/Makefile
new file mode 100644
index 000000000000..489a238daf14
--- /dev/null
+++ b/benchmarks/nosqlbench/Makefile
@@ -0,0 +1,24 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME= nosqlbench
+PORTVERSION= 0.0.${DATE}
+CATEGORIES= benchmarks databases
+MASTER_SITES= http://fbsd.zlonet.ru/distfiles/
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= Micro-benchmarking NoSQL storage
+
+LIB_DEPENDS= tarantool:${PORTSDIR}/databases/tarantool
+
+DATE= 20120802
+USE_BZIP2= yes
+USE_CMAKE= yes
+CMAKE_ARGS= -DLIBTNT_INCLUDE=${LOCALBASE}/include \
+ -DLIBTNT_LIB=${LOCALBASE}/lib
+
+pre-configure:
+ ${REINPLACE_CMD} 's#DESTINATION doc#DESTINATION ${DOCSDIR}#g' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/benchmarks/nosqlbench/distinfo b/benchmarks/nosqlbench/distinfo
new file mode 100644
index 000000000000..d348b78058f4
--- /dev/null
+++ b/benchmarks/nosqlbench/distinfo
@@ -0,0 +1,2 @@
+SHA256 (nosqlbench-0.0.20120802.tar.bz2) = b7ecf89b86e422ad7642e900df9e1ad6e8229d42727eb8bf503d1f403b45a5dc
+SIZE (nosqlbench-0.0.20120802.tar.bz2) = 143327
diff --git a/benchmarks/nosqlbench/pkg-descr b/benchmarks/nosqlbench/pkg-descr
new file mode 100644
index 000000000000..f6b6a4623b56
--- /dev/null
+++ b/benchmarks/nosqlbench/pkg-descr
@@ -0,0 +1,6 @@
+nb - Micro-benchmarking NoSQL storage. Features include:
+
+* Benchmarking support: tarantool, memcached, redis
+* GNUPlot generation
+
+WWW: https://github.com/mailru/nosqlbench
diff --git a/benchmarks/nosqlbench/pkg-plist b/benchmarks/nosqlbench/pkg-plist
new file mode 100644
index 000000000000..f48b3f085eaf
--- /dev/null
+++ b/benchmarks/nosqlbench/pkg-plist
@@ -0,0 +1,4 @@
+bin/nb
+%%DOCSDIR%%/README
+%%DOCSDIR%%/LICENSE
+@dirrm %%DOCSDIR%%