Skip to content

Commit

Permalink
chore: remove print_time task
Browse files Browse the repository at this point in the history
printing revision is enough
  • Loading branch information
tonytonyjan committed Oct 1, 2017
1 parent e6b93fb commit 01e1cea
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ task :print_ruby_version do
print "#{RUBY_DESCRIPTION}\n\n"
end

task :print_time do
print "#{Time.now.utc}\n\n"
end

namespace :benchmark do
task :native => [:print_time, :print_ruby_version] do |t, args|
task native: :print_ruby_version do |t, args|
puts '# C Extension'
load File.expand_path("../benchmark/native.rb", __FILE__)
puts
end

task :pure => [:print_time, :print_ruby_version] do |t, args|
task pure: :print_ruby_version do |t, args|
puts '# Pure Ruby'
load File.expand_path("../benchmark/pure.rb", __FILE__)
puts
Expand Down

0 comments on commit 01e1cea

Please sign in to comment.