Permalink
Browse files

Add benchmark for running sieve against 10 million

  • Loading branch information...
1 parent 8e9899b commit d340b0dd3843c6bdfa8d9ef1194ead323b2c9b68 @joshuaclayton committed Sep 12, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 Rakefile
View
@@ -47,5 +47,13 @@ task(:benchmark => :build) do
i.sieve
end
end
+
+ benchmark.report("sieve 10_000_000") do
+ sieve 10_000_000
+ end
+
+ benchmark.report("10_000_000.sieve") do
+ 10_000_000.sieve
+ end
end
end

0 comments on commit d340b0d

Please sign in to comment.