mirror of
https://github.com/talent-plan/tinykv.git
synced 2026-08-19 04:53:28 +08:00
Update Competition_Final_get_perf.sh (#464)
If the cache is not cleared, after the first test is completed, the next test will end in a few seconds.
This commit is contained in:
@@ -83,7 +83,7 @@ func TestReadWrite(t *testing.T) {
|
||||
}
|
||||
}
|
||||
'
|
||||
|
||||
go clean -testcache
|
||||
echo "$bench_file" > kv/test_raftstore/bench_test.go
|
||||
go test ./kv/test_raftstore/ -run ReadWrite -v > bench.log
|
||||
score=$(grep QPS: bench.log | awk '{print $3}')
|
||||
|
||||
Reference in New Issue
Block a user