You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/05/23 02:03:48 UTC

[GitHub] [james-project] chibenwa opened a new pull request #453: [PERFORMANCE] Fasten MessageProperties lookup

chibenwa opened a new pull request #453:
URL: https://github.com/apache/james-project/pull/453


   Read a Map instead of iterating values. This is done for each
   getMessage requests hence is on the critical path.
   
   With 27 properties to iterate for each 19 properties specified in the gatling tests, at a rate of 425 req/s makes this lookup noticeable...
   
   ![Screenshot from 2021-05-23 09-02-25](https://user-images.githubusercontent.com/6928740/119245743-ac523a00-bba5-11eb-8c2d-702da427df70.png)
   
   (Note this pattern is repeated in ~3 places)


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org


[GitHub] [james-project] chibenwa merged pull request #453: [PERFORMANCE] Fasten MessageProperties lookup

Posted by GitBox <gi...@apache.org>.
chibenwa merged pull request #453:
URL: https://github.com/apache/james-project/pull/453


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org