test_json_parser/002_inline is kind of slow
От | Robert Haas |
---|---|
Тема | test_json_parser/002_inline is kind of slow |
Дата | |
Msg-id | CA+TgmobKoG+gKzH9qB7uE4MFo-z1hn7UngqAe9b0UqNbn3_XGQ@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: test_json_parser/002_inline is kind of slow
Re: test_json_parser/002_inline is kind of slow |
Список | 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 по дате отправления: