lib/tasks/benchmarks/csv_benchmark.rake
# this gives detailed information, but incurs significant overhead
this gives detailed information, but incurs significant overhead
this gives detailed information but incurs significant overhead
def profile_memory
  report = MemoryProfiler.report do
    yield
  end
  puts "Printing memory report ..."
  report.pretty_print
end
def profile_memory report = MemoryProfiler . report do yield end puts "Printing memory report ..." report . pretty_print end
this gives detailed information, but incurs significant overhead
this gives detailed information but incurs significant overhead