Sha256: 4dea952808b3f5370367116466f7efcbf0c721b498eff6ffe0644205aec681dd

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

require "bundler/gem_tasks"
require "rake/extensiontask"

task :default => :spec

# Compile
Rake::ExtensionTask.new "fast_statistics" do |ext|
  ext.lib_dir = "lib/fast_statistics"
end

# Rspec
begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec, [:spec] => [:clean, :compile])
rescue LoadError
end

# Benchmark
task :benchmark => [:clean, :compile] do 
  require_relative "./benchmark/benchmark"
  bench = DescriptiveStatsBenchmark
  bench.compare_results!
  bench.benchmark_ips!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fast_statistics-0.2.1 Rakefile