NextJS Server Action Execution Time?
Unanswered
Tan posted this in #help-forum
TanOP
I am hosting my nextjs app on Vercel with a hobby plan. Do you know what is the execution time of a server action?
1 Reply
Spectacled Caiman
If you just want to find out how long running a server action takes you can use a library like
Or if you want to go vanilla, get the timestamps before and after invoking and awaiting the action, and calculate the difference
Benchmark and console.log the output. Or if you want to go vanilla, get the timestamps before and after invoking and awaiting the action, and calculate the difference