You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not only memory and time are give performance problems, very often CPU usage is also the problem. But now we don't measure it.
Will be good to add measurement of CPU usage time too!
In PHP we can easily get them via this code:
$rUsage = getrusage();
$cpuTimeUser = $rUsage["ru_utime.tv_usec"]; // user time used (microseconds)$cpuTimeSystem = $rUsage["ru_stime.tv_usec"]; // system time used (microseconds)
Also there are many other metrics that can be useful, so maybe store full result of that function, instead of several values, and allow to manually add needed ones to report?
The text was updated successfully, but these errors were encountered:
Not only memory and time are give performance problems, very often CPU usage is also the problem. But now we don't measure it.
Will be good to add measurement of CPU usage time too!
In PHP we can easily get them via this code:
Also there are many other metrics that can be useful, so maybe store full result of that function, instead of several values, and allow to manually add needed ones to report?
The text was updated successfully, but these errors were encountered: