Commit c0397a5c authored by Claudiu Mihali's avatar Claudiu Mihali
Browse files

Compiled throughput benchmark

parent aaddc8e8
......@@ -2,7 +2,6 @@ package internal
import (
"bufio"
"fmt"
"io"
)
......@@ -123,7 +122,7 @@ type ValueResHandler struct {
}
// var errs = 0
var responseNo = 0
// var responseNo = 0
func (ValueResHandler) handleResponse(o *Operation, rd *bufio.Reader) error {
......@@ -191,8 +190,8 @@ func (ValueResHandler) handleResponse(o *Operation, rd *bufio.Reader) error {
o.Result = rpl
responseNo++
fmt.Printf("%d ", responseNo)
// responseNo++
// fmt.Printf("%d ", responseNo)
// } else if o.OpCode == OpGetCond {
// plb := make([]byte, 4)
......
......@@ -334,10 +334,10 @@ func (processor *Processor) GetPerturbedRows(key []byte, columnPermutation []int
processor.valueNoOffsets[disabledColumnsIndices[i]] = 0
}
fmt.Printf("Column permutation: %v\n", columnPermutation)
fmt.Printf("Column chunks values no: %v\n", processor.columnChunksValuesNo)
fmt.Printf("valueNoOffsets: %v\n", processor.valueNoOffsets)
fmt.Printf("getCondNo = %d; getNo = %d\n\n", getCondNo, getNo)
// fmt.Printf("Column permutation: %v\n", columnPermutation)
// fmt.Printf("Column chunks values no: %v\n", processor.columnChunksValuesNo)
// fmt.Printf("valueNoOffsets: %v\n", processor.valueNoOffsets)
// fmt.Printf("getCondNo = %d; getNo = %d\n\n", getCondNo, getNo)
pages, err := processor.Client.GetBulkN(keys, getCondNo, getNo, n)
//pages, err := processor.Client.GetBulk(keys, getCondNo, getNo)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment