Re: benchmarking Flex practices

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: benchmarking Flex practices
Дата
Msg-id CACPNZCuQUejMsKy1Ym42-Z8o3T8MDOHffG_uSDc0aJ=3VbueFA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: benchmarking Flex practices  (John Naylor <john.naylor@2ndquadrant.com>)
Ответы Re: benchmarking Flex practices
Список pgsql-hackers
I wrote:

> I no longer use state variables to track scanner state, and in fact I
> removed the existing "state_before" variable in ECPG. Instead, I used
> the Flex builtins yy_push_state(), yy_pop_state(), and yy_top_state().
> These have been a feature for a long time, it seems, so I think we're
> okay as far as portability. I think it's cleaner this way, and
> possibly faster.

I thought I should get some actual numbers to test, and the results
are encouraging:

           master       v10
info       1.56s        1.51s
str        1.18s        1.14s
unicode    1.33s        1.34s
uescape    1.44s        1.58s


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



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

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: color by default
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: Extracting only the columns needed for a query