gitlab-org--gitlab-foss/lib/tasks/benchmark.rake

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
268 B
Ruby
Raw Normal View History

# frozen_string_literal: true
return if Rails.env.production?
namespace :benchmark do
desc 'Benchmark | Banzai pipeline/filters'
RSpec::Core::RakeTask.new(:banzai) do |t|
t.pattern = 'spec/benchmarks/banzai_benchmark.rb'
ENV['BENCHMARK'] = '1'
end
end