summaryrefslogtreecommitdiffstats
path: root/benchmark.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark.rb')
-rw-r--r--benchmark.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/benchmark.rb b/benchmark.rb
index 58e9703..e5a8953 100644
--- a/benchmark.rb
+++ b/benchmark.rb
@@ -2,8 +2,8 @@ require 'fileutils'
require 'benchmark'
require 'rubygems'
require 'ruby-prof'
-#require_gem 'git', '1.0.3'
-require 'lib/git'
+require_gem 'git', '1.0.3'
+#require 'lib/git'
def main
@wbare = File.expand_path(File.join('tests', 'files', 'working.git'))
@@ -66,8 +66,8 @@ def main
log.size
log.size
log.first
- g.log.between('v2.5').object('example.txt').size
- g.log.since("2 years ago").size
+ g.log.between('v2.5').object('example.txt').map { |c| c.message }
+ g.log.since("2 years ago").map { |c| c.message }
end
end