sodonnel opened a new pull request, #7395:
URL: https://github.com/apache/ozone/pull/7395

   ## What changes were proposed in this pull request?
   
   In the Recon ListKeys API, a series of predicate lambdas are created to 
filter the returned keys. The filters create 3 new lambdas for each key to 
check and this api could iterate a lot of keys in parallel.
   
   Benchmarking the original code against simple IF statements shows the IF 
statements to be about 3x faster. However the creation of all the lambda object 
resulted in about 4500MB/s of short lived objects.
   
   This PR simplifies the code to IF statements. It should not change any 
functionality.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11649
   
   ## How was this patch tested?
   
   Existing tests cover this.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to