- Feb 25, 2020
-
-
GitLab Bot authored
-
- Dec 27, 2019
-
-
GitLab Bot authored
-
- Dec 13, 2019
-
-
GitLab Bot authored
-
- Oct 09, 2019
-
-
GitLab Bot authored
-
- Sep 17, 2019
-
-
GitLab Bot authored
-
- Sep 04, 2019
-
-
dineshpanda authored
-
- Aug 22, 2019
-
-
Thong Kuah authored
-
- Aug 01, 2019
-
-
Stan Hu authored
`Gitlab::Profiler` can also be used to profile Sidekiq jobs. Add some call traces that can be omitted from the backtrace.
-
- Jul 24, 2019
-
-
Stan Hu authored
`Array.reverse_each` is faster than `Array.reverse.each` because: * reverse.each creates a new array then loops each element * reverse_each loops in reverse order (no intermediate array created)
-
- Apr 27, 2019
-
-
Stan Hu authored
Ruby 5.1 now requires keyword arguments to pass along parameters and headers for ActionDispatch::Integration::RequestHelpers. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61051
-
- Apr 17, 2019
-
-
Stan Hu authored
This adds the backtrace to a table to show exactly where the Gitaly call was made to make it easier to understand where the call originated. This change also collapses the details in the same row to improve the usability when there is a backtrace.
-
- Nov 26, 2018
-
-
Sean McGivern authored
Previously, we used a personal access token. This had a couple of problems: 1. If the user didn't have a PAT, we couldn't impersonate them. 2. It depended on reading the raw PAT from the database. Instead, we can monkey-patch the authentication methods on ApplicationController (overriding the Devise ones), and remove them once we're done. This does mean that profiles will not profile auth correctly, so for that, use a PAT directly.
-
- Oct 22, 2018
-
-
gfyoung authored
-
- Sep 11, 2018
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Jul 19, 2018
-
-
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.
-
- Jun 15, 2018
-
-
Sean McGivern authored
This method makes it easier for other parts of the app to get clean backtraces, as well as console users.
-
- Mar 21, 2018
-
-
Sean McGivern authored
-
- Feb 16, 2018
-
-
Dylan Griffith authored
-
- Jan 19, 2018
-
-
Sean McGivern authored
Gitlab::Profiler.profile takes a URL to profile, and returns the ruby-prof profile result. This is currently only for interactive use (in a console) or from the script runner. Note that when using this interactively, changes to the application within that console session will be used, so this can be used to test proposed performance changes.
-