aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorvg <vg@FreeBSD.org>2015-08-24 16:55:07 +0800
committervg <vg@FreeBSD.org>2015-08-24 16:55:07 +0800
commitca922c960620276c15de314452059c25f45e77c4 (patch)
treed4991e3b567c08c818fd08eb275ca3c9aa8bf3d0 /benchmarks
parentf5a300265cd10da21ef88900e40e70b09c0e369a (diff)
downloadfreebsd-ports-gnome-ca922c960620276c15de314452059c25f45e77c4.tar.gz
freebsd-ports-gnome-ca922c960620276c15de314452059c25f45e77c4.tar.zst
freebsd-ports-gnome-ca922c960620276c15de314452059c25f45e77c4.zip
- Updated to lates
- New description and website - Added license - Sorted USES
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/nosqlbench/Makefile19
-rw-r--r--benchmarks/nosqlbench/distinfo4
-rw-r--r--benchmarks/nosqlbench/pkg-descr19
-rw-r--r--benchmarks/nosqlbench/pkg-plist3
4 files changed, 27 insertions, 18 deletions
diff --git a/benchmarks/nosqlbench/Makefile b/benchmarks/nosqlbench/Makefile
index 0e38c3ed4c1e..aefe4cc1d91d 100644
--- a/benchmarks/nosqlbench/Makefile
+++ b/benchmarks/nosqlbench/Makefile
@@ -9,17 +9,18 @@ MASTER_SITES= LOCAL/vg
MAINTAINER= vg@FreeBSD.org
COMMENT= Micro-benchmarking NoSQL storage
-LIB_DEPENDS= libtarantool.so:${PORTSDIR}/databases/tarantool
+LICENSE= BSD2CLAUSE
-BROKEN= does not build after tarantool update
+LIB_DEPENDS= libleveldb.so:${PORTSDIR}/databases/leveldb
-DATE= 20120802
-USES= tar:bzip2 cmake
-CMAKE_ARGS= -DLIBTNT_INCLUDE=${LOCALBASE}/include \
- -DLIBTNT_LIB=${LOCALBASE}/lib
+DATE= 20150822
+USES= cmake tar:bzip2
-pre-configure:
- ${REINPLACE_CMD} 's#DESTINATION doc#DESTINATION ${DOCSDIR}#g' \
- ${WRKSRC}/CMakeLists.txt
+PLIST_FILES= bin/nb \
+ etc/nosqlbench.conf.sample
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/sources/nosqlbench.conf \
+ ${STAGEDIR}${PREFIX}/etc/nosqlbench.conf.sample
.include <bsd.port.mk>
diff --git a/benchmarks/nosqlbench/distinfo b/benchmarks/nosqlbench/distinfo
index d348b78058f4..c72edfaf5156 100644
--- a/benchmarks/nosqlbench/distinfo
+++ b/benchmarks/nosqlbench/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nosqlbench-0.0.20120802.tar.bz2) = b7ecf89b86e422ad7642e900df9e1ad6e8229d42727eb8bf503d1f403b45a5dc
-SIZE (nosqlbench-0.0.20120802.tar.bz2) = 143327
+SHA256 (nosqlbench-0.0.20150822.tar.bz2) = e9e4ecd06eeb026ed5e7367a0356c852bdf5b7c70f301f2740ca510002ceb0e2
+SIZE (nosqlbench-0.0.20150822.tar.bz2) = 835263
diff --git a/benchmarks/nosqlbench/pkg-descr b/benchmarks/nosqlbench/pkg-descr
index f6b6a4623b56..aa45fdf8cf65 100644
--- a/benchmarks/nosqlbench/pkg-descr
+++ b/benchmarks/nosqlbench/pkg-descr
@@ -1,6 +1,17 @@
-nb - Micro-benchmarking NoSQL storage. Features include:
+NoSQL Benchmark (nb) is a multi-threaded benchmark tool for evaluating main
+database performance metrics using OLTP-alike benchmarking against
+a specified workload.
-* Benchmarking support: tarantool, memcached, redis
-* GNUPlot generation
+Features include:
-WWW: https://github.com/mailru/nosqlbench
+* benchmarking types: unlimited, time limited or maximum thread limited
+* different threads creation policies: at once or interleaved
+* key distribution supported: uniform, gaussian
+* key types supported: string, u32, u64
+* CSV report file generation supported (for future plot generation)
+* single configuration file
+* workload tests are specified in percents against a total request count
+* supported database drivers: tarantool, leveldb (redis, memcached planned).
+* plotter tool (CSV to GNU Plot generation)
+
+WWW: https://github.com/tarantool/nosqlbench
diff --git a/benchmarks/nosqlbench/pkg-plist b/benchmarks/nosqlbench/pkg-plist
deleted file mode 100644
index b53a7cb4e7c2..000000000000
--- a/benchmarks/nosqlbench/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/nb
-%%DOCSDIR%%/README
-%%DOCSDIR%%/LICENSE