-
- Downloads
There was an error fetching the commit references. Please try again later.
Add a Gitlab::Profiler.print_by_total_time convenience method
This method uses Gitlab::Profiler::TotalTimeFlatPrinter internally, which is the same as RubyProf::FlatPrinter, but the min_percent option (and new max_percent option) applies to the _total_ time, not the _self_ time. This helps us figure out if we're calling a library inefficiently, for instance.
parent
928c81e2
No related branches found
No related tags found
Showing
- changelogs/unreleased/add-total-time-flat-printer-for-profiling.yml 6 additions, 0 deletions.../unreleased/add-total-time-flat-printer-for-profiling.yml
- doc/development/profiling.md 30 additions, 0 deletionsdoc/development/profiling.md
- lib/gitlab/profiler.rb 6 additions, 0 deletionslib/gitlab/profiler.rb
- lib/gitlab/profiler/total_time_flat_printer.rb 39 additions, 0 deletionslib/gitlab/profiler/total_time_flat_printer.rb
Please register or sign in to comment