Re: New benchmark result

Поиск
Список
Период
Сортировка
От Mark Butler
Тема Re: New benchmark result
Дата
Msg-id 3AD79000.B4AEE528@middle.net
обсуждение исходный текст
Ответ на Re: NUMERIC type efficiency problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Mark Butler wrote:

> I did several tests with functions designed to sum the number 12345 a million
> times.  The results are as follows (Pentium II 450, Redhat 6.2):
> 
> Postgres PL/PGSQL original numeric:    14.8 seconds
> Postgres PL/PGSQL modified numeric:    11.0 seconds
> Postgres PL/PGSQL float8:              10.7 seconds
> GNU AWK:                                2.5 seconds
> Oracle PL/SQL number:                   2.0 seconds

I have a new result:
 Postgres PL/PGSQL integer:              7.5 seconds

I do not know what to attribute the large difference between float8 and int to
other than pg_alloc overhead used in the calling convention for float8. 
Commments?

- Mark Butler


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Anyone have any good addresses ... ?
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Anyone have any good addresses ... ?