[Groonga-commit] groonga/grnxx at 411b61f [master] Gnx: fix a bug that "--cache no" was missing in benchmark.

Back to archive index

susumu.yata null+****@clear*****
Wed May 13 19:20:02 JST 2015


susumu.yata	2015-05-13 19:20:02 +0900 (Wed, 13 May 2015)

  New Revision: 411b61fd4b135246f32c795421ce8fb83184f17a
  https://github.com/groonga/grnxx/commit/411b61fd4b135246f32c795421ce8fb83184f17a

  Message:
    Gnx: fix a bug that "--cache no" was missing in benchmark.

  Modified files:
    go3/gnx/grn_test.go

  Modified: go3/gnx/grn_test.go (+2 -2)
===================================================================
--- go3/gnx/grn_test.go    2015-05-11 09:03:57 +0900 (b60e492)
+++ go3/gnx/grn_test.go    2015-05-13 19:20:02 +0900 (11b1994)
@@ -921,7 +921,7 @@ func benchmarkGrnDBSelectForScalar(b *testing.B, valueType string) {
 
 	b.ResetTimer()
 	for i := 0; i < b.N; i++ {
-		_, err := db.Query("select Table --output_columns Value --limit -1")
+		_, err := db.Query("select Table --output_columns Value --limit -1 --cache no")
 		if err != nil {
 			b.Fatalf("DB.Query() failed: %s", err)
 		}
@@ -948,7 +948,7 @@ func benchmarkGrnDBSelectForVector(b *testing.B, valueType string) {
 
 	b.ResetTimer()
 	for i := 0; i < b.N; i++ {
-		bytes, err := db.Query("select Table --output_columns Value --limit -1")
+		bytes, err := db.Query("select Table --output_columns Value --limit -1 --cache no")
 		if err != nil {
 			b.Fatalf("DB.Query() failed: %s", err)
 		}
-------------- next part --------------
HTML����������������������������...
Download 



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