Re: What is a typical precision of gettimeofday()?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: What is a typical precision of gettimeofday()?
Дата
Msg-id e781bd012e3f8d61849c35fc4ac8ea4dc39f254b.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: What is a typical precision of gettimeofday()?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: What is a typical precision of gettimeofday()?
Список pgsql-hackers
On Tue, 2025-07-08 at 18:17 -0400, Tom Lane wrote:
> One other thing that bothers me as I look at the output is
>
>     Per loop time including overhead: 731.26 ns
>
> That's stated in a way that makes it sound like that is a
> very solid number, when in fact it's just the average.
> We see from these test cases that there are frequently
> a few outliers that are far from the average.  I'm tempted
> to rephrase as
>
>     Average loop time including overhead: 731.26 ns
>
> or some variant of that.  Thoughts?

I think that is a good idea.

Yours,
Laurenz Albe



В списке pgsql-hackers по дате отправления: