[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151469#comment-17151469
 ] 

maoling commented on ZOOKEEPER-3823:
------------------------------------

Tested in Windows OS:
{code:java}
C:\Users\maoling\apache-zookeeper-3.7.0-SNAPSHOT-bin\bin>zkWatchBenchmark.cmd 
-root_path /test -threads 50 znode_count 30000 -znode_size 1000 -force 
-connect_string 127.0.0.1:2181 -timeout 300000


Notification expected count: 1500000, received count: 1500000 (1.0), loss 
count: 0 (0.0)
Latency distribution:
Avg latency: 119.2061 ms/op
Fastest latency: 3.0 ms/op
Slowest latency: 328.0 ms/op
10th percentile notification latency: 109 ms
25th percentile notification latency: 109 ms
50th percentile notification latency: 116 ms
75th percentile notification latency: 125 ms
90th percentile notification latency: 133 ms
95th percentile notification latency: 141 ms
99th percentile notification latency: 173 ms
Total time:252326 ms, watch benchmark total time: 72319 ms, 
throughput:20741.4372 op/s
{code}

> Add a benchmark tool for testing watch feature performance
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-3823
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3823
>             Project: ZooKeeper
>          Issue Type: New Feature
>            Reporter: maoling
>            Assignee: maoling
>            Priority: Major
>             Fix For: 3.7.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to