lhotari commented on issue #17714:
URL: https://github.com/apache/pulsar/issues/17714#issuecomment-1259185735

   Analysis of stored invocations: 
https://gist.github.com/lhotari/520428ca36779217a633b32f105db073
   
   ```
   method,invocationCount,
   public org.apache.pulsar.broker.resources.PulsarResources 
org.apache.pulsar.broker.PulsarService.getPulsarResources(),471647,
   public org.apache.pulsar.broker.ServiceConfiguration 
org.apache.pulsar.broker.PulsarService.getConfiguration(),42779,
   public org.apache.pulsar.broker.service.BrokerService 
org.apache.pulsar.broker.PulsarService.getBrokerService(),34534,
   public org.apache.pulsar.broker.namespace.NamespaceService 
org.apache.pulsar.broker.PulsarService.getNamespaceService(),10334,
   public java.util.concurrent.ScheduledExecutorService 
org.apache.pulsar.broker.PulsarService.getExecutor(),8922,
   public org.apache.pulsar.broker.loadbalance.LeaderElectionService 
org.apache.pulsar.broker.PulsarService.getLeaderElectionService(),7327,
   public java.lang.String 
org.apache.pulsar.broker.PulsarService.getBrokerServiceUrl(),3540,
   public java.lang.String 
org.apache.pulsar.broker.PulsarService.getAdvertisedAddress(),1362,
   ```
   
   with https://github.com/vlsi/mat-calcite-plugin query
   ```sql
   select t.m as "method", count(t.m) as invocationCount from (select 
toString(getField(getField(i.this, 'mockitoMethod'), 'method')) as m from 
org.mockito.internal.verification.DefaultRegisteredInvocations r, lateral 
table(getValues(r.invocations)) i) as t group by 1 order by 2 desc
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to