Hi,
You can expect Logic Apps to be slower than a Web API. It's by design, and Logic Apps are not recommended for really time critical or real time API response times.
That said, I think that there are ways of improving the performance. Could you please detail your api design and implementation a bit more for us?
Br,
Leo