From 9e20a99afd3028bc6bbbea31ee73575c0f249f12 Mon Sep 17 00:00:00 2001 From: Sam <sam.saffron@gmail.com> Date: Thu, 15 Aug 2013 17:48:11 +1000 Subject: [PATCH] more info logged --- script/bench.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/bench.rb b/script/bench.rb index cb586a10a..305b628b2 100644 --- a/script/bench.rb +++ b/script/bench.rb @@ -108,12 +108,14 @@ begin home_page = bench("/") topic_page = bench("/t/oh-how-i-wish-i-could-shut-up-like-a-tunnel-for-so/69") - puts "Your Results:" + puts "Your Results: (note for timings- percentile is first, duration is second in millisecs)" puts({ "home_page" => home_page, "topic_page" => topic_page, - "timings" => @timings + "timings" => @timings, + "ruby-version" => "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}", + "rails4?" => ENV["RAILS4"] == "1" }.to_yaml) ensure