-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timing information to CodeChecker runs #38
base: master
Are you sure you want to change the base?
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
.