Re: speed up verifying UTF-8

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: speed up verifying UTF-8
Дата
Msg-id CAFBsxsGybY_LUQPzzGX6uZv=V=bFgxAtUhHqpU71qm+h7i218w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: speed up verifying UTF-8  (John Naylor <john.naylor@enterprisedb.com>)
Ответы Re: speed up verifying UTF-8  (John Naylor <john.naylor@enterprisedb.com>)
Список pgsql-hackers
I wrote:

> Also, if SSE is accepted into the tree, then the C fallback is only important on platforms like PowerPC64 and Arm64, so we can make the tradeoff by testing those more carefully. I'll test on PowerPC soon.

I got around to testing on POWER8 / Linux / gcc 4.8.5 and found a regression in the mixed2 case in v11. v12 improves that at the cost of some improvement in the ascii case (5x vs. 8x).

master:
 chinese | mixed | ascii | mixed2
---------+-------+-------+--------
    2966 |  1525 |   871 |   1474

v11-0001:
 chinese | mixed | ascii | mixed2
---------+-------+-------+--------
    1030 |   644 |   102 |   1760

v12-0001:
 chinese | mixed | ascii | mixed2
---------+-------+-------+--------
     977 |   632 |   168 |   1113

--
John Naylor
EDB: http://www.enterprisedb.com

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: "an SQL" vs. "a SQL"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: doc issue missing type name "multirange" in chapter title