Timer/Stopwatch

Hello Wapplers.

I would like to to know how fast my Server Side API Action executes. Is there any solution how I can achieve that?
My initial idea is to start timer as a first API Action step and in the end stop timer and set timer value as an output.

Could you not check this in a browsers dev tools when you right click your site in a browser you’ll see something like inspect element then find the network tab then XHR reload your page to load the server actions again making them show in XHR area should be a timer there I believe

You could definfe variables for the start and end points, using {{TIMESTAMP}} and then create a third variable:
{{time_end_ts.toNumber() -time_start_ts.toNumber()+' seconds'}}

(Or you could just two variables, but using three is perhaps clearer.)

1 Like

@TomD that could work. Will check your solution!

Thank you very much - your solution really did the trick!

1 Like