We are seeing very similar Forge function performance in our app. I have created an empty resolver function for testing and called it through the custom UI bridge with the following results (request timing shown in the browser’s developer tools):
- Without tunnel: ~700ms
- With tunnel: ~1,100ms
The latency is pretty high even in the deployed version and the tunnel adds about 400ms. Part of it could be due to my location. I’m in Europe and the function is executed in the US.