Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor: show `max-proc-keys` and `p95-proc-keys` in results of `explain analyze` #13692

Merged
merged 8 commits into from Nov 27, 2019

fix CI problems

  • Loading branch information
qw4990 committed Nov 26, 2019
commit 57db227d7af50be57bb040e7ff90a06e1780b723
@@ -119,15 +119,15 @@ func TestReaderStats(t *testing.T) {

r.procKeys = append(r.procKeys, 100)
r.copRespTime = append(r.copRespTime, time.Millisecond*100)
if r.String() != "rpc time:100ms, proc keys:100" {
if r.String() != "rpc num: 1, rpc time:100ms, proc keys:100" {
t.Fatal()
}

for i := 0; i < 100; i++ {
r.procKeys = append(r.procKeys, int64(i))
r.copRespTime = append(r.copRespTime, time.Millisecond*time.Duration(i))
}
if r.String() != "rpc max:100ms, min:0s, avg:50ms, p80:80ms, p95:95ms, proc keys max:100, p95:95" {
if r.String() != "rpc num: 101, rpc max:100ms, min:0s, avg:50ms, p80:80ms, p95:95ms, proc keys max:100, p95:95" {
t.Fatal()
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.