Re: test_json_parser/002_inline is kind of slow

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: test_json_parser/002_inline is kind of slow
Дата
Msg-id h7eplq2hsfioky4r6hvq2hy75dlhtdn5jhnf2y26wvznh7otdb@vh45vevnnj6i
обсуждение исходный текст
Ответ на Re: test_json_parser/002_inline is kind of slow  (Jacob Champion <jacob.champion@enterprisedb.com>)
Ответы Re: test_json_parser/002_inline is kind of slow
Список pgsql-hackers
Hi,

On 2025-09-26 08:33:08 -0700, Jacob Champion wrote:
> On Fri, Sep 26, 2025 at 8:12 AM Robert Haas <robertmhaas@gmail.com> wrote:
> > Basically anything that would allow us to do multiple tests
> > without having to fork a new process for every single one seems like
> > it would probably save quite a bit.
> 
> Agreed, it's pretty inefficient. (For comparison, it runs in about two
> seconds on my machine, so I hadn't noticed how bad it had gotten.
> Thanks for pointing it out.)
> 
> The hammer I had available at the time was
> Perl-plus-compiled-executable.

You can just support running multiple tests with one run of the executable,
e.g. by splitting the input / output on null bytes.

Greetings,

Andres Freund



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