-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
37 lines (28 loc) · 812 Bytes
/
Rakefile
File metadata and controls
37 lines (28 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# frozen_string_literal: true
require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
require "rubocop/rake_task"
RuboCop::RakeTask.new
task default: %i[spec rubocop]
# Benchmark tasks
namespace :benchmark do
desc "Run performance benchmarks"
task :performance do
ruby "benchmarks/performance_benchmark.rb"
end
desc "Run convergence analysis benchmarks"
task :convergence do
ruby "benchmarks/convergence_benchmark.rb"
end
desc "Run all benchmarks"
task all: %i[performance convergence] do
puts "All benchmarks completed!"
end
desc "Run quick benchmarks (reduced dataset sizes)"
task :quick do
puts "Running quick performance benchmark..."
ENV["QUICK_BENCHMARK"] = "1"
ruby "benchmarks/performance_benchmark.rb"
end
end