i have an API written in Spring boot , which just act as a proxy between two api’s , it took request from one api and forward the request to other api , for 50% of request it is working fine but for some requests it is taking too much time like 147ms , it should do it’s work in around 20-40 ms , in the code i see nothing too complex , so i want to measure the time taken from checkpoints to checkpoints , like i want to know which step is time consuming
How can i do that ?
Some of my assumptions are if payload is coming too large, it might take some time but that’s just a wild guess , idk what’s the reason.
Himanshu Bhatt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.