Hello,
I was running into the 5 second cloud execution time limit earlier today (due to doing something inefficient). I was wondering if you had any general tips in the future for reducing times in general.
- Do server API calls add meaningful time?
- Should we aim for a lower # of function calls?
- Does using log.info() add meaningful time?
- Does using JSON.parse or stringify add meaningful time?
- Any other general tips for reducing time?
And one other general question: Can we expect cloud call execution times to be steady for the same call/data? i.e. if I have a cloud call ManipulateData() that manipulates the same amount of data each time, will its execution time be about the same always?
Thanks,
Joe