• Sean McGivern's avatar
    Add a Gitlab::Profiler.print_by_total_time convenience method · ef973f6f
    Sean McGivern authored
    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.
    ef973f6f
profiler.rb 5.04 KB