debian-mirror-gitlab/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

2021-03-11 19:13:27 +05:30
# 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