Module: Sequel::Adapters::Benchmarking

Defined in:
lib/sequel-rails/railties/benchmarking_mixin.rb

Instance Method Summary collapse

Instance Method Details

#reset_runtimeObject



16
17
18
19
# File 'lib/sequel-rails/railties/benchmarking_mixin.rb', line 16

def reset_runtime
  rt, @runtime = @runtime, 0
  rt.to_f
end