Sha256: e44165d64deff59c3daeb290b95b9f42854d805e0cbe8be83bb85947bada8640
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
class Neo4j::Core::Query alias_method :response_without_miniprofiler, :response def response return @response if @response start = Process.clock_gettime(Process::CLOCK_MONOTONIC) rval = response_without_miniprofiler elapsed_time = SqlPatches.elapsed_time(start) Rack::MiniProfiler.record_sql(to_cypher, elapsed_time) rval end alias_method :response_with_miniprofiler, :response end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-mini-profiler-0.10.7 | lib/patches/db/neo4j.rb |