-
Notifications
You must be signed in to change notification settings - Fork 69
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
Use CSV format for Query Perf #90
Use CSV format for Query Perf #90
Conversation
@dmetzger57 can you do an analysis on this to see how much better it is? I am good with this to merge since it's a big improvement in our demos, but let's also investigate if we can use |
Had to convert the |
Results based on 12 hour runs on Master and Master + PR, show a 29% improvement per capture. Data showed the total time savings was driven by Vim_execute_time improvement, which was the expected result. Perf_processing time increased slightly with the change, which was also anticipated as a result having to perform the CSV processing, however savings on Vim_execute_time more than made up for this. Following are the averages for captures during the 12 hour runs.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was tested in the POC. Ran quicker and used up less memory.
Going with using the CSV
parser is the more conservative route.
Think the failure is due to master changes.
There are two format types available for the QueryPerf method to request metrics, normal and CSV. Normal formats are pre-parsed but are much more verbose compared to the CSV format which leads to much higher metrics capture times when using the normal format.
5dde92d
to
2b6c6b5
Compare
Checked commits agrare/manageiq-providers-vmware@81d2bc7~...2b6c6b5 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Finally green 🎉 /cc @Fryguy |
Yay Green! |
…tration_retirement_check_removed_from_provider_method Refactoring cloud orchestration retirement check_removed_from_provider method
There are two format types available for the QueryPerf method to request
metrics, normal and CSV. Normal formats are pre-parsed but are much
more verbose compared to the CSV format which leads to much higher
metrics capture times when using the normal format.
cc @Fryguy @dmetzger57