Re: benchmarking Flex practices - Mailing list pgsql-hackers

From Andres Freund
Subject Re: benchmarking Flex practices
Date
Msg-id 20190620160220.ewiayagre2gwqirw@alap3.anarazel.de
Whole thread Raw
In response to Re: benchmarking Flex practices  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2019-06-20 10:52:54 -0400, Tom Lane wrote:
> John Naylor <john.naylor@2ndquadrant.com> writes:
> > It would be nice to have confirmation to make sure I didn't err
> > somewhere, and to try a more real-world benchmark.
> 
> I don't see much wrong with using information_schema.sql as a parser/lexer
> benchmark case.  We should try to confirm the results on other platforms
> though.

Might be worth also testing with a more repetitive testcase to measure
both cache locality and branch prediction. I assume that with
information_schema there's enough variability that these effects play a
smaller role. And there's plenty real-world cases where there's a *lot*
of very similar statements being parsed over and over. I'd probably just
measure the statements pgbench generates or such.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: POC: Cleaning up orphaned files using undo logs
Next
From: Robert Haas
Date:
Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)