reducing isolation tests runtime

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема reducing isolation tests runtime
Дата
Msg-id 20180124231006.z7spaz5gkzbdvob5@alvherre.pgsql
обсуждение исходный текст
Ответы Re: reducing isolation tests runtime  (Robert Haas <robertmhaas@gmail.com>)
Re: reducing isolation tests runtime  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On the subject of test total time, we could paralelize isolation tests.
Right now "make check" in src/test/isolation takes 1:16 on my machine.
Test "timeouts" takes full 40s of that, with nothing running in parallel
-- the machine is completely idle.

Seems like we can have a lot of time back just by changing the schedule
to use multiple tests per line (in particular, put the other slow tests
together with timeouts), per the attached; with this new schedule,
isolation takes 44 seconds in my machine -- a win of 32 seconds.  We can
win a couple of additional second by grouping a few other lines, but
this is the biggest win.

(This needs to be adjusted because some table names in the specs
conflict.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Possible performance regression with pg_dump of a large numberof relations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql function startup-time improvements