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
394c2d4bf3
commit
aa0313595e
@ -56,7 +56,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