MiniProfiler/rack-mini-profiler — pull request #41 by nirvdrum (2013-12-23 04:34:52+00:00)
Title: Sequel reports DB query execution time in seconds, but our internal API expects milliseconds, so convert them.

I don't know if this is something that changed recently in Sequel, but I don't think it has. As far as I can tell, Sequel has reported duration in seconds for at least the past 3 years (see commit: 276028af2ed3ca88807c4fe55cd393b8cd36e68a). However, the Sequel adapter in rack-mini-profiler seems to think it's getting milliseconds. I don't want to be so bold as to say this has been broken right along, since someone must be using it, but my execution times were all being reported as 0ms until I patched it like so. Now I have execution times appear in rack-mini-profiler that seem to match the actual execution times.