Skip to content
Snippets Groups Projects
Commit b397ad8a authored by Stan Hu's avatar Stan Hu
Browse files

Disable method instrumentation for diffs

When there a large number of discussions on diffs, the instrumentation
has a significant impact on performance since it's often run in a tight
loop for line position calculation etc. We should disable this since
there are other ways to benchmark performance.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52898
parent ddab30ad
No related branches found
No related tags found
No related merge requests found
---
title: Disable method instrumentation for diffs
merge_request: 27235
author:
type: performance
Loading
Loading
@@ -30,7 +30,6 @@ def instrument_classes(instrumentation)
# are included.
%w(app services [^concerns]**) => %w(app services),
%w(lib gitlab conflicts) => ['lib'],
%w(lib gitlab diff) => ['lib'],
%w(lib gitlab email message) => ['lib'],
%w(lib gitlab checks) => ['lib']
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment