ef973f6f28
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.
6 lines
145 B
YAML
6 lines
145 B
YAML
---
|
|
title: Add a Gitlab::Profiler.print_by_total_time convenience method for profiling
|
|
from a Rails console
|
|
merge_request:
|
|
author:
|
|
type: other
|