fnegrini
What's the best way to calculate execution time of an application?
Hi Elixir developers!
I’ve created an elixir app wich creates a set of processes (about 900) with a lot of calculation distributed among all theese processes. I need to calculate the time spent between the started time and the last calculation (wich can occurr in any process). What’s the best way to calculate the execution time of my distributed application?
Thanks a lot!
Most Liked
romul
Busy waiting is definitely not a appropriate way to measure performance, b/c it directly affects performance by itself.
rvirding
How do you know when a process has finished its job? Does it die, or tell someone, or does it just become dormant waiting for a message?
massimo
fnegrini
Got it! I’ll need to change my code a litle bit but I’ve got the idea! The goal is send a message to the main process when each sub-process finish his hob. God idea! Thank you!








