Reducing time complexity of route API deployed locally

We have deployed GraphHopper locally on our system and are using the Route API to calculate the distance and time for a car traveling from one point to another. However, the response time for a single API call is taking 2 to 3 seconds, which becomes problematic when handling multiple cars in a cluster, as it significantly increases the overall response time.

Could you please provide guidance on how we can reduce the time complexity for each call and improve performance when working with multiple vehicles?

Thank you.

Enable CH or LM for faster queries.