mariofusco opened a new issue, #635:
URL: https://github.com/apache/incubator-kie-issues/issues/635

   As reported in [this 
email](https://groups.google.com/g/drools-setup/c/CDv4EMjJOpw/m/LfwvPLIYBgAJ) 
there is a huge inefficiency caused by unnecessary services lookup during the 
execution of a stateless session. I wrote a benchmark to check the user's claim 
(surprisingly we didn't have any benchmark executing a stateless session) and 
the profiler confirmed the problem.
   
   
![image](https://github.com/apache/incubator-kie-issues/assets/372781/616915bf-8e9b-41d5-a8bb-990dc98636f5)
   
   More in general it seems useless to always load a service from the service 
loader, so it would be reasonable to cache them. 


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