[Groonga-commit] droonga/fluent-plugin-droonga at 6ced474 [master] Report only qps

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 6 18:06:20 JST 2013


YUKI Hiroshi	2013-11-06 18:06:20 +0900 (Wed, 06 Nov 2013)

  New Revision: 6ced474e0a03e8efb93ceb7fb3b3670ebab66e5b
  https://github.com/droonga/fluent-plugin-droonga/commit/6ced474e0a03e8efb93ceb7fb3b3670ebab66e5b

  Message:
    Report only qps

  Modified files:
    benchmark/watch/benchmark-notify.rb

  Modified: benchmark/watch/benchmark-notify.rb (+4 -2)
===================================================================
--- benchmark/watch/benchmark-notify.rb    2013-11-06 17:48:15 +0900 (39781b2)
+++ benchmark/watch/benchmark-notify.rb    2013-11-06 18:06:20 +0900 (0fa8a79)
@@ -124,10 +124,12 @@ options[:n_steps].times do |try_count|
   end
   puts "=> #{percentage} % feeds are notified"
   result = result.join("").strip.gsub(/[()]/, "").split(/\s+/)
-  results << [label] + result
+  qps = options[:n_times].to_f / result.last.to_f
+  puts "   (#{qps} queries per second)"
+  results << [label, qps]
 end
 total_results = [
-  ["case", "user", "system", "total", "real"],
+  ["case", "qps"],
 ]
 total_results += results
 
-------------- next part --------------
HTML����������������������������...
Download 



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