horizonzy commented on PR #2021: URL: https://github.com/apache/zookeeper/pull/2021#issuecomment-1606172341
Start standalone zookeeper at local. **Before change:** ``` 23/06/26 01:00:30 INFO zkbenchmark.ZooKeeperBenchmark: Loading benchmark from configuration file: benchmark.conf 23/06/26 01:00:30 INFO zkbenchmark.ZooKeeperBenchmark: benchmark set with: interval: 200 total number: 20000 threshold: 8000 time: 30000 sync: SYNC 23/06/26 01:00:31 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:01:01 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:01:01 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 171305 operations. 23/06/26 01:01:01 INFO zkbenchmark.ZooKeeperBenchmark: READ finished, time elapsed (sec): 30.0 operations: 171305 avg rate: 5710.166666666667 23/06/26 01:01:01 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:01:31 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:01:31 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 182883 operations. 23/06/26 01:01:31 INFO zkbenchmark.ZooKeeperBenchmark: READ finished, time elapsed (sec): 30.0 operations: 182883 avg rate: 6096.1 23/06/26 01:01:31 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:02:01 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:02:01 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 166178 operations. 23/06/26 01:02:01 INFO zkbenchmark.ZooKeeperBenchmark: SETSINGLE finished, time elapsed (sec): 30.0 operations: 166178 avg rate: 5539.266666666666 23/06/26 01:02:01 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:02:31 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:02:31 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 155318 operations. 23/06/26 01:02:31 INFO zkbenchmark.ZooKeeperBenchmark: CREATE finished, time elapsed (sec): 30.0 operations: 155318 avg rate: 5177.266666666666 23/06/26 01:02:31 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:03:01 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:03:01 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 166338 operations. 23/06/26 01:03:01 INFO zkbenchmark.ZooKeeperBenchmark: SETMULTI finished, time elapsed (sec): 30.0 operations: 166338 avg rate: 5544.6 23/06/26 01:03:01 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:03:31 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:03:31 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 177474 operations. 23/06/26 01:03:31 INFO zkbenchmark.ZooKeeperBenchmark: DELETE finished, time elapsed (sec): 30.0 operations: 177474 avg rate: 5915.8 23/06/26 01:03:31 INFO zkbenchmark.ZooKeeperBenchmark: Tests completed, now cleaning-up 23/06/26 01:03:31 INFO zkbenchmark.ZooKeeperBenchmark: All tests are complete ``` **After Change:** ``` 23/06/26 01:11:55 INFO zkbenchmark.ZooKeeperBenchmark: Loading benchmark from configuration file: benchmark.conf 23/06/26 01:11:55 INFO zkbenchmark.ZooKeeperBenchmark: benchmark set with: interval: 200 total number: 20000 threshold: 8000 time: 30000 sync: SYNC 23/06/26 01:11:55 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:12:26 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:12:26 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 169002 operations. 23/06/26 01:12:26 INFO zkbenchmark.ZooKeeperBenchmark: READ finished, time elapsed (sec): 30.0 operations: 169002 avg rate: 5633.4 23/06/26 01:12:26 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:12:56 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:12:56 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 187048 operations. 23/06/26 01:12:56 INFO zkbenchmark.ZooKeeperBenchmark: READ finished, time elapsed (sec): 30.0 operations: 187048 avg rate: 6234.933333333333 23/06/26 01:12:56 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:13:26 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:13:26 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 170006 operations. 23/06/26 01:13:26 INFO zkbenchmark.ZooKeeperBenchmark: SETSINGLE finished, time elapsed (sec): 30.0 operations: 170006 avg rate: 5666.866666666667 23/06/26 01:13:26 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:13:57 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:13:57 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 159202 operations. 23/06/26 01:13:57 INFO zkbenchmark.ZooKeeperBenchmark: CREATE finished, time elapsed (sec): 30.0 operations: 159202 avg rate: 5306.733333333334 23/06/26 01:13:57 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:14:27 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:14:27 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 172127 operations. 23/06/26 01:14:27 INFO zkbenchmark.ZooKeeperBenchmark: SETMULTI finished, time elapsed (sec): 30.0 operations: 172127 avg rate: 5737.566666666667 23/06/26 01:14:27 INFO zkbenchmark.BenchmarkClient: Client #0 is sending srst command: srst is not executed because it is not in the whitelist. 23/06/26 01:14:57 INFO zkbenchmark.BenchmarkClient: Client #0 is sending stat command: stat is not executed because it is not in the whitelist. 23/06/26 01:14:57 INFO zkbenchmark.BenchmarkClient: Client #0 -- Current test complete. Completed 178049 operations. 23/06/26 01:14:57 INFO zkbenchmark.ZooKeeperBenchmark: DELETE finished, time elapsed (sec): 30.0 operations: 178049 avg rate: 5934.966666666666 23/06/26 01:14:57 INFO zkbenchmark.ZooKeeperBenchmark: Tests completed, now cleaning-up 23/06/26 01:14:57 INFO zkbenchmark.ZooKeeperBenchmark: All tests are complete ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org