[Groonga-commit] groonga/groonga-query-log [master] Define SizedStatistics under Groonga::QueryLog::Analyzer

Back to archive index

Haruka Yoshihara null+****@clear*****
Wed Dec 12 16:24:54 JST 2012


Haruka Yoshihara	2012-12-12 16:24:54 +0900 (Wed, 12 Dec 2012)

  New Revision: bc2b5d9f1ad0b4e206eb5280a025746cd4c85109
  https://github.com/groonga/groonga-query-log/commit/bc2b5d9f1ad0b4e206eb5280a025746cd4c85109

  Log:
    Define SizedStatistics under Groonga::QueryLog::Analyzer

  Modified files:
    lib/groonga/query-log/analyzer.rb
    lib/groonga/query-log/analyzer/sized-statistics.rb

  Modified: lib/groonga/query-log/analyzer.rb (+1 -1)
===================================================================
--- lib/groonga/query-log/analyzer.rb    2012-12-12 16:23:56 +0900 (4c744ca)
+++ lib/groonga/query-log/analyzer.rb    2012-12-12 16:24:54 +0900 (297744f)
@@ -39,7 +39,7 @@ module Groonga
 
         stream = @options[:stream]
         dynamic_sort = @options[:dynamic_sort]
-        statistics = Groonga::QueryLog::SizedStatistics.new
+        statistics = Groonga::QueryLog::Analyzer::SizedStatistics.new
         statistics.apply_options(@options)
         parser = Groonga::QueryLog::Parser.new
         if stream

  Modified: lib/groonga/query-log/analyzer/sized-statistics.rb (+2 -0)
===================================================================
--- lib/groonga/query-log/analyzer/sized-statistics.rb    2012-12-12 16:23:56 +0900 (b917dca)
+++ lib/groonga/query-log/analyzer/sized-statistics.rb    2012-12-12 16:24:54 +0900 (2a590f1)
@@ -24,6 +24,7 @@ require "groonga/query-log/analyzer/reporter/json"
 
 module Groonga
   module QueryLog
+    class Analyzer
     class SizedStatistics < Array
       attr_reader :n_responses, :n_slow_responses, :n_slow_operations
       attr_reader :slow_operations, :total_elapsed
@@ -166,5 +167,6 @@ module Groonga
         end
       end
     end
+    end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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