mirror of https://github.com/apache/kafka.git
MINOR - Increase the number of Trogdor Histogram buckets to 10000 (#8627)
Reviewers: Colin P. McCabe <cmccabe@apache.org>
This commit is contained in:
parent
29dd1148c8
commit
5203ab0c5d
|
@ -200,7 +200,7 @@ public class ConsumeBenchWorker implements TaskWorker {
|
|||
private final ThreadSafeConsumer consumer;
|
||||
|
||||
private ConsumeMessages(ThreadSafeConsumer consumer) {
|
||||
this.latencyHistogram = new Histogram(5000);
|
||||
this.latencyHistogram = new Histogram(10000);
|
||||
this.messageSizeHistogram = new Histogram(2 * 1024 * 1024);
|
||||
this.clientId = consumer.clientId();
|
||||
this.statusUpdaterFuture = executor.scheduleAtFixedRate(
|
||||
|
|
|
@ -195,7 +195,7 @@ public class ProduceBenchWorker implements TaskWorker {
|
|||
SendRecords(HashSet<TopicPartition> activePartitions) {
|
||||
this.activePartitions = activePartitions;
|
||||
this.partitionsIterator = activePartitions.iterator();
|
||||
this.histogram = new Histogram(5000);
|
||||
this.histogram = new Histogram(10000);
|
||||
|
||||
this.transactionGenerator = spec.transactionGenerator();
|
||||
this.enableTransactions = this.transactionGenerator.isPresent();
|
||||
|
|
Loading…
Reference in New Issue