# The default colors of rack-lineprof can be very hard to look at in terminals# with darker backgrounds. This patch tweaks the colors a bit so the output is# actually readable.ifRails.env.development?andRUBY_ENGINE=='ruby'andENV['ENABLE_LINEPROF']Gitlab::Application.config.middleware.use(Rack::Lineprof)moduleRackclassLineprofclassSample<Rack::Lineprof::Sample.superclassdefformat(*)formatted=iflevel==CONTEXT