what time format does "DB::getQueryLog()" return?

IOM posted 5 years ago

I read the "API" and it says pretty much nothing, doesn't give a clue about what DB::getQueryLog() is rewording of.

I just figured out that the time it returns in this array for each query is not seconds. What is the unit of measurement here?

arcollector replied 5 years ago

it's calculated using the microtime function, what you get is a milliseconds time value

look its implementation here:

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us