mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 06:08:19 -04:00
8 lines
276 B
Ruby
8 lines
276 B
Ruby
namespace :benchmark do
|
|
desc "Run benchmark code in benchmark/*.rb"
|
|
task :run => ["test:setup"] do
|
|
path = File.join(LogStash::Environment::LOGSTASH_HOME, "tools/benchmark", "*.rb")
|
|
Dir.glob(path).each { |f| require f }
|
|
end
|
|
end
|
|
task :benchmark => "benchmark:run"
|