Re: profile-guided opt. w/ GCC

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: profile-guided opt. w/ GCC
Дата
Msg-id 1096539127.25277.396.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: profile-guided opt. w/ GCC  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Thu, 2004-09-30 at 19:49, Peter Eisentraut wrote:
> I doubt that the regression tests are anywhere near representative input 
> data.  They run a proportion of borderline and error cases that is much 
> higher than I would expect in normal use.

That's definitely true. At first glance, the regression tests don't seem
to be *too* badly skewed:

[src/test/regress/expected]% grep ERROR *.out | wc -l    
867
[src/test/regress/expected]% grep -i "^SELECT" *.out | wc -l
2924
[src/test/regress/expected]% grep -i "^INSERT" *.out | wc -l
2714
[src/test/regress/expected]% grep -i "^UPDATE" *.out | wc -l
122
[/src/test/regress/expected]% grep -i "^DELETE" *.out | wc -l
110
[src/test/regress/expected]% grep -i "^CREATE" *.out | wc -l
848
[src/test/regress/expected]% grep -i "^COPY" *.out | wc -l
46

I guess it depends on how closely the test data needs to match "normal"
input data for the gcc optimizer to be able to make valid decisions. My
intuition is that the regression tests are sufficiently close to normal
input that it won't be an issue, but I'm not sure.

-Neil




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: profile-guided opt. w/ GCC
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: profile-guided opt. w/ GCC