pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joel Jacobson <joel@compiler.org>
Cc: Chapman Flack <chap@anastigmatix.net>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Some regular-expression performance hacking
Date: Fri, 26 Feb 2021 13:55:10 -0500
Message-ID: <351243.1614365710@sss.pgh.pa.us> (raw)
In-Reply-To: <0e3addb8-415a-4e94-8294-c7ab86ad46d0@www.fastmail.com>
References: <1340281.1613018383@sss.pgh.pa.us>
	<85140bfb-516c-449b-8a03-7930abb42b88@www.fastmail.com>
	<1813969.1613250697@sss.pgh.pa.us>
	<913516b8-c3d7-4dea-bf60-d735cf4673f1@www.fastmail.com>
	<2155152.1613358697@sss.pgh.pa.us>
	<99f6cbe0-6e58-4e41-add0-977271a5cf84@www.fastmail.com>
	<2752386.1613595636@sss.pgh.pa.us>
	<5deabab3-a335-4b57-a046-8a9ad8f2f142@www.fastmail.com>
	<12e6381c-adc1-4711-a619-864fb8df969c@www.fastmail.com>
	<2840118.1613671847@sss.pgh.pa.us>
	<2845172.1613674385@sss.pgh.pa.us>
	<b16bccc0-3f98-47ad-81aa-699a3e00630d@www.fastmail.com>
	<3028106.1613748380@sss.pgh.pa.us>
	<60319BDB.2040302@anastigmatix.net>
	<3374539.1613870009@sss.pgh.pa.us>
	<4019408.1614133970@sss.pgh.pa.us>
	<4185677.1614208792@sss.pgh.pa.us>
	<168861.1614298592@sss.pgh.pa.us>
	<0e3addb8-415a-4e94-8294-c7ab86ad46d0@www.fastmail.com>

"Joel Jacobson" <joel@compiler.org> writes:
> On Fri, Feb 26, 2021, at 01:16, Tom Lane wrote:
>> 0007-smarter-regex-allocation-2.patch

> I've successfully tested this patch.

Cool, thanks for testing!

> That's a 29% speed-up compared to HEAD! Truly amazing.

Hmm, I'm still only seeing about 10% or a little better.
I wonder why the difference in your numbers.  Either way,
though, I'll take it, since the main point here is to cut
memory consumption and not so much cycles.

			regards, tom lane





view thread (38+ messages)  latest in thread

Message-ID: <351243.1614365710@sss.pgh.pa.us>
Permalink:  ../351243.1614365710@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/351243.1614365710@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, joel@compiler.org, chap@anastigmatix.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: Some regular-expression performance hacking
  In-Reply-To: <351243.1614365710@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox