Commit graph

15 commits

Author SHA1 Message Date
Marcel Amirault
5abfc57ec3 Fix spacing of code blocks
Code blocks should not be spaced 4 times, as this will
prevent the code from being colored. They should
also be spaced the same as the lists they are a part
of, to make reading easier.
2019-07-09 07:16:17 +00:00
Stan Hu
22cfb8588c Remove requirement for personal access token in profiling
Since https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23320,
personal access tokens are no longer needed for profiling an endpoint
since users are stubbed directly.
2019-06-23 23:48:52 -07:00
Sean McGivern
7798cd874b Profiler only works with absolute URLs and paths 2019-03-07 11:06:12 +00:00
Stan Hu
bea565cacc Bring back mentions of Redash
This reverts commit 676e0a3260.
It was removed when we thought we were moving to Looker.
2019-02-27 14:04:18 -08:00
Evan Read
47fb1c5235 Remove consecutive blank lines from markdown files
For the sake of consistency, removes any extraneous
consecutive blank lines from the doc suite.
2019-02-18 09:36:13 +00:00
Drew Blessing
bac1f72c57 Add HTML output example to profiling 2019-02-11 17:51:56 +00:00
Stan Hu
676e0a3260 Remove mentions of Redash
Related links:

* https://gitlab.com/gitlab-com/Product/issues/5
* https://gitlab.com/meltano/looker/issues/294
2018-12-05 10:34:16 -08:00
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