skaes-railsbench 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/railsbench/railsbenchmark.rb +0 -1
- data/lib/railsbench/version.rb +1 -1
- metadata +1 -1
|
@@ -300,7 +300,6 @@ class RailsBenchmark
|
|
|
300
300
|
ARGV.each{|arg| measure_mode=$1.upcase if arg =~ /-measure_mode=([^ ]*)/ }
|
|
301
301
|
if %w(PROCESS_TIME WALL_TIME CPU_TIME ALLOCATIONS MEMORY).include?(measure_mode)
|
|
302
302
|
RubyProf.measure_mode = RubyProf.const_get measure_mode
|
|
303
|
-
GC.eanable_stats if measure_mode == "memory"
|
|
304
303
|
else
|
|
305
304
|
$stderr = STDERR
|
|
306
305
|
$stderr.puts "unsupported ruby_prof measure mode: #{measure_mode}"
|
data/lib/railsbench/version.rb
CHANGED