Re: B-Tree support function number 3 (strxfrm() optimization) - Mailing list pgsql-hackers

From Thom Brown
Subject Re: B-Tree support function number 3 (strxfrm() optimization)
Date
Msg-id CAA-aLv5R-uuMAe8UNaY2wzPF0gNrW32rJ1VZN4ua-=FCVdJP0A@mail.gmail.com
Whole thread Raw
In response to Re: B-Tree support function number 3 (strxfrm() optimization)  (Peter Geoghegan <pg@heroku.com>)
Responses Re: B-Tree support function number 3 (strxfrm() optimization)  (Peter Geoghegan <pg@heroku.com>)
Re: B-Tree support function number 3 (strxfrm() optimization)  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On 3 April 2014 19:05, Peter Geoghegan <pg@heroku.com> wrote:
> On Thu, Apr 3, 2014 at 1:23 PM, Thom Brown <thom@linux.com> wrote:
>> I'm getting an error when building this:
>
> Sorry. I ran this through Valgrind, and forgot to reset where the
> relevant macro is define'd before submission. Attached revision should
> build without issue.

Looking good:

-T 100 -n -f sort.sql

Master: 21.670467 / 21.718653 (avg: 21.69456)
Patch: 66.888756 / 66.888756 (avg: 66.888756)

308% increase in speed


-c 80 -j 80 -T 100 -n -f sort.sql

Master: 38.450082 / 37.440701 (avg: 37.9453915)
Patch: 153.321946 / 145.004726 (avg: 149.163336)

393% increase in speed

-- 
Thom



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Add ALTER TABLESPACE ... MOVE command
Next
From: Heikki Linnakangas
Date:
Subject: Re: GSoC 2014 proposal