[Groonga-commit] droonga/fluent-plugin-droonga at 3fd8d75 [master] Add a script to run benchmark around notification

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 28 17:57:43 JST 2013


YUKI Hiroshi	2013-10-28 17:57:43 +0900 (Mon, 28 Oct 2013)

  New Revision: 3fd8d7545d0d5c016d84f7c728760d5bedc3cbc0
  https://github.com/droonga/fluent-plugin-droonga/commit/3fd8d7545d0d5c016d84f7c728760d5bedc3cbc0

  Message:
    Add a script to run benchmark around notification

  Added files:
    benchmark/watch/benchmark-notify.sh

  Added: benchmark/watch/benchmark-notify.sh (+21 -0) 100755
===================================================================
--- /dev/null
+++ benchmark/watch/benchmark-notify.sh    2013-10-28 17:57:43 +0900 (f082881)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+base_dir=$(cd $(dirname $0); pwd)
+
+# commands to remove temporary db
+# commands to create temporary db
+
+DROONGA_CATALOG=$base_dir/catalog.json \
+  bundle exec fluentd \
+    --config $base_dir/fluentd.conf &
+FLUENTD_PID=$!
+
+sleep 1
+
+bundle exec fluent-cat -p 23003 droonga < $base_dir/ddl/watchdb.jsons 
+
+bundle exec ruby $base_dir/benchmark-notify.rb
+
+kill $FLUENTD_PID
+wait $FLUENTD_PID
+
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index