mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
nip
This commit is contained in:
parent
ab10f95911
commit
f5c2d19b90
@ -54,7 +54,7 @@ func TestWatch(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// BenchmarkWatch creates 10K watchers watch at /foo/[paht] each time.
|
// BenchmarkWatch creates 10K watchers watch at /foo/[path] each time.
|
||||||
// Path is randomly chosen with max depth 10.
|
// Path is randomly chosen with max depth 10.
|
||||||
// It should take less than 15ms to wake up 10K watchers.
|
// It should take less than 15ms to wake up 10K watchers.
|
||||||
func BenchmarkWatch(b *testing.B) {
|
func BenchmarkWatch(b *testing.B) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user