Welcome to mirror list, hosted at ThFree Co, Russian Federation.

benchmark.rake « tasks « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6deafb2c3511987550cca156f6483daa36793ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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