Commit graph

8 commits

Author SHA1 Message Date
Sean McGivern
ef973f6f28 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.
2018-07-19 16:00:27 +01:00
Dylan Griffith
bda4f0811e Improve error handling for Gitlab::Profiler and improve doc about providing a user 2018-02-16 19:47:44 +11:00
Sean McGivern
45d6a2b398 Add bin/profile-url tool and docs 2018-01-19 14:59:05 +00:00
ernstvn
651470f802 Different wording to make it more general 2017-10-09 15:24:55 -07:00
ernstvn
d8c803487e Add link to gitlab-profiler 2017-10-09 15:23:33 -07:00
James Edwards-Jones
4dc99f326a Adds docs for QueryRecorder tests 2017-03-13 18:59:36 +00:00
Yorick Peterse
126a2428cd Updated profiling guides for Sherlock 2015-11-09 14:29:10 +01:00
Yorick Peterse
97e02f4bc9 Added documentation on the various profiling tools 2015-10-15 12:15:18 +02:00