[Groonga-commit] groonga/wikipedia-search at f4432ea [master] Disable cache

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 10 23:48:50 JST 2016


Kouhei Sutou	2016-11-10 23:48:50 +0900 (Thu, 10 Nov 2016)

  New Revision: f4432eacc7ec01c37626cf9f377621c108d71af2
  https://github.com/groonga/wikipedia-search/commit/f4432eacc7ec01c37626cf9f377621c108d71af2

  Message:
    Disable cache

  Modified files:
    benchmark/centos7/postgresql.sh

  Modified: benchmark/centos7/postgresql.sh (+1 -0)
===================================================================
--- benchmark/centos7/postgresql.sh    2016-11-10 23:47:42 +0900 (96f2698)
+++ benchmark/centos7/postgresql.sh    2016-11-10 23:48:50 +0900 (7a97f59)
@@ -423,6 +423,7 @@ benchmark_search_pgroonga_command()
   cat "${benchmark_dir}/${word_list}" | while read search_word; do
     commands=()
     commands+=("--command" "\\timing")
+    commands+=("--command" "SELECT pgroonga.command('cache_limit 0')")
     for i in $(seq ${n_search_tries}); do
       commands+=("--command" "SELECT pgroonga.command('select ' || pgroonga.table_name('wikipedia_index_pgroonga') || ' --match_columns text --query \"${search_word}\" --limit 0 --output_columns _id')")
     done
-------------- next part --------------
HTML����������������������������...
Download 



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