Add timing information to CodeChecker runs#38
Add timing information to CodeChecker runs#38gamesh411 wants to merge 1 commit intoXazax-hun:masterfrom
Conversation
|
What do you want to do exactly? Getting the time of each analyzer invocation? I think there is a better way to do that. Relying on In case we invoke the analyzer with the command I think we should rely on Analyzer's timers rather than on OS-specific solutions. Moreover, we should already collect duration information. In case such information is not collected, maybe the regexes are out of date in https://github.com/Xazax-hun/csa-testbench/blob/master/summarize_sa_stats.py#L85 If measuring the individual TU times (you can also get a histogram of them I believe) is not what you want, maybe it would be better to just measure the time of the whole analysis command within python? |
I think you might be right. First, I will check the regexes, but I am also aware that they might just be correct, as I only get statistics information if LLVM is built with Second, I think I used |
|
I see. I think the whole command duration should already be logged and if it does not it is a bug. I am ok with using And the running time should never be measured using |
Add timing feature via wrapping the analyis runs with
/usr/bin/time.