Commit b397ad8a authored by Stan Hu's avatar Stan Hu

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.

parent ddab30ad
title: Disable method instrumentation for diffs
merge_request: 27235
type: performance
......@@ -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']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment