I'm using AppD as APM for my application and in slow transaction reports it shows most of the calls, which is not our application code and we are calling open source libraries method. For example :
com.google.common.reflect.TypeVisitor.visit
method of google library takes almost 155 ms time and com.google.common.reflect.TypeToken.equals()
method takes almost 60 ms. and org.apache.tapestry5.internal.services.RenderQueueImpl.render()
takes almost 50 ms.
I want to highlight that I've checked and my server is not loaded and both CPU and memory usage is very low as well this time taken is for very small amount of data processing.
Let me know the reason behind this and how can I optimize the performance of my application.