Hi all,
with my Forge App i am at the limit of the 25 seconds. To see how long each API Call needs i would like to measure the response Time. Is there any way to measure the Forge Network times? If I have a normal React Script I can do it via Dev Tools/ Network, so i am looking for something similar.
Happy to hear any idea.
Best,
Maren
Hi @MarenMeyer ,
Have you visited your app in the Developer console recently? You may like to:
- Visit the Developer console.
- Click on Metrics within the Monitoring section.
- Scroll down to the Invocation time chart.
Here’s a screenshot showing this chart for one of my apps:
Hopefully this provides the information you need.
Regards,
Dugald
1 Like
Hi @dmorrow ,
thank you for your quick response and good answer. This hint already helped me a lot.
So far I can just see that with my async webtrigger I am always over 4000ms. So I know that i have to optimize my code. Is there any way to see where I am loosing the most time in my code?
Best regards,
Maren
Hi @MarenMeyer ,
To work out what parts of your code are taking the most time to execute, maybe you can add some manual instrumentation by recording timestamps at different points and using them to calculate durations and logging these. I assume you’ll want to investigate everything that requires a network call - all the asynchronous operations.
Regards,
Dugald