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:
github2543128445
2025-05-03 12:44:59 +08:00
committed by GitHub
parent 811a2d0e2a
commit cf7ed8da34

View File

@@ -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}')