class Runways::BenchmarkInterceptor
Public Instance Methods
all_request_responses(request: nil, call: nil, method: nil) { || ... }
click to toggle source
# File lib/runways/interceptors/benchmark_interceptor.rb, line 3 def all_request_responses(request: nil, call: nil, method: nil) realtime = Benchmark.realtime do yield end puts "Completed in #{realtime} secs" end