Open miq-bot opened 5 years ago
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.
The current Benchmark timings do a good job of capturing the time it took to do various blocks, but one of the things that it's missing is the ability to group, or nest, timings the same way we're nesting the calls to
Benchmark.realtime_block
in the code.For instance, in the VMWare EMS Refresh process, we have several calls to
Benchmark.realtime_block
. If I grouped the timing keys together to represent their call stack, it would look like:However, this is what we currently output when we capture the
Benchmark.realtime_block
:If I scale that back to just the hash of timings, it looks like (newlines and formatting added):
There's no organization to this data. Instead, it's just a collection of numbers without any context. If this hash represented the nested nature of these calls, it could look like (newlines and formatting added):
This gives a much clearer view, imo, of how these numbers actually compose a larger refresh timing.
I would love to see other examples of nested
Benchmark.realtime_block
log output that either corroborates or disproves the need for better timing grouping.This issue was moved to this repository from https://github.com/ManageIQ/manageiq/issues/11692, originally opened by @blomquisg
This issue was moved to this repository from https://github.com/ManageIQ/manageiq-gems-pending/issues/420, originally opened by @miq-bot