Skip to content

Commit 9e20a99

Browse files
committed
more info logged
1 parent 5d4d72c commit 9e20a99

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

script/bench.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@ def bench(path)
108108
home_page = bench("/")
109109
topic_page = bench("/t/oh-how-i-wish-i-could-shut-up-like-a-tunnel-for-so/69")
110110

111-
puts "Your Results:"
111+
puts "Your Results: (note for timings- percentile is first, duration is second in millisecs)"
112112

113113
puts({
114114
"home_page" => home_page,
115115
"topic_page" => topic_page,
116-
"timings" => @timings
116+
"timings" => @timings,
117+
"ruby-version" => "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}",
118+
"rails4?" => ENV["RAILS4"] == "1"
117119
}.to_yaml)
118120

119121
ensure

0 commit comments

Comments
 (0)