test_json_parser/002_inline is kind of slow - Mailing list pgsql-hackers

From Robert Haas
Subject test_json_parser/002_inline is kind of slow
Date
Msg-id CA+TgmobKoG+gKzH9qB7uE4MFo-z1hn7UngqAe9b0UqNbn3_XGQ@mail.gmail.com
Whole thread Raw
Responses Re: test_json_parser/002_inline is kind of slow
Re: test_json_parser/002_inline is kind of slow
List pgsql-hackers
I've noticed that when I run 'meson test', the test mentioned in the
subject line is usually the last one to finish. The test runs for 22
seconds on my machine, which is fairly high considering that 'meson
test' in total (and with MESON_TESTTHREADS=8) runs for 3 minutes and
13 seconds. I think the reason for this relatively high runtime is
that it fires off a separate shell command for each separate test, and
there are 3400 of those. I'm not exactly sure what change to propose,
but I wonder if we could come up with a way of making this a bit more
efficient? 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.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Avoiding roundoff error in pg_sleep()
Next
From: Vladlen Popolitov
Date:
Subject: Re: Avoiding roundoff error in pg_sleep()