pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anton Kirilov <antonvkirilov@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Add PQsendSyncMessage() to libpq
Date: Mon, 22 May 2023 01:18:09 +0100
Message-ID: <fdbf4c41-37ea-9da5-46c5-4c167ac79e8a@gmail.com> (raw)
In-Reply-To: <ZFBRXa5VMZ7Z+/V6@paquier.xyz>
References: <CACV6eE5arHFZEA717=iKEa_OewpVFfWJOmsOdGrqqsr8CJVfWQ@mail.gmail.com>
	<991b791e-bc32-7d14-89f6-cb66c1b52895@dalibo.com>
	<CACV6eE5kEnDkXvCaGfgzrN3WEoSpDWM4RQiZXB7Yd3h7EpfE0Q@mail.gmail.com>
	<1eb1a3f4-a820-9848-f73b-4456608c9166@dalibo.com>
	<ZEtxTRkVn93TvpeD@paquier.xyz>
	<2612cb81-2a8b-be11-6f77-97801ea6a3ad@dalibo.com>
	<46201226-51a9-e261-fe54-efca5bab4a82@gmail.com>
	<ZFBRXa5VMZ7Z+/V6@paquier.xyz>

Hello,

On 02/05/2023 00:55, Michael Paquier wrote:
 > Well, these are nice numbers.  At ~1% I am ready to buy the noise
 > argument, but what would the range of the usual noise when it comes to
 > multiple runs under the same conditions>

I managed to get my patch tested in the TechEmpower Framework Benchmarks 
continuous benchmarking environment, and even though it takes roughly a 
week to get a new set of results, now there had been a couple of runs 
both with and without my changes. All 4 database-bound Web application 
tests (single query, multiple queries, fortunes, and data updates) saw 
improvements, by approximately 8.94%, 0.64%, 9.54%, and 2.78% 
respectively. The standard errors were 0.65% or less, so there was 
practically no change in the second test. However, I have seen another 
implementation experience a much larger improvement (~6.69%) in that 
test from essentially the same optimization, so I think that my own code 
has another bottleneck. Note that these test runs were not in the same 
benchmarking environment as the one I used previously for a quick check, 
so the values differ. Also, another set of results should become 
available in a week or so (and would be based on my optimization).

Links to the test runs:
https://www.techempower.com/benchmarks/#section=test&runid=1ecf679a-9686-4de7-a3b7-de16a1a84bb6&...
https://www.techempower.com/benchmarks/#section=test&runid=aab00736-445c-4b7f-83b5-451c47c83395&...
https://www.techempower.com/benchmarks/#section=test&runid=bc7f7570-a88e-48e3-9874-06d7dc0a0f74&...
https://www.techempower.com/benchmarks/#section=test&runid=e6dd1abd-7aa2-4846-9b44-d8fd8a23d385&...
(ordered chronologically; the first 2 did not include my optimization)

Best wishes,
Anton Kirilov





view thread (37+ messages)  latest in thread

Message-ID: <fdbf4c41-37ea-9da5-46c5-4c167ac79e8a@gmail.com>
Permalink:  ../fdbf4c41-37ea-9da5-46c5-4c167ac79e8a@gmail.com/
Also on:    postgresql.org/message-id/fdbf4c41-37ea-9da5-46c5-4c167ac79e8a@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: antonvkirilov@gmail.com, michael@paquier.xyz
  Subject: Re: Add PQsendSyncMessage() to libpq
  In-Reply-To: <fdbf4c41-37ea-9da5-46c5-4c167ac79e8a@gmail.com>
  References: <CACV6eE5arHFZEA717=iKEa_OewpVFfWJOmsOdGrqqsr8CJVfWQ@mail.gmail.com> <991b791e-bc32-7d14-89f6-cb66c1b52895@dalibo.com> <CACV6eE5kEnDkXvCaGfgzrN3WEoSpDWM4RQiZXB7Yd3h7EpfE0Q@mail.gmail.com> <1eb1a3f4-a820-9848-f73b-4456608c9166@dalibo.com> <ZEtxTRkVn93TvpeD@paquier.xyz> <2612cb81-2a8b-be11-6f77-97801ea6a3ad@dalibo.com> <46201226-51a9-e261-fe54-efca5bab4a82@gmail.com> <ZFBRXa5VMZ7Z+/V6@paquier.xyz> <fdbf4c41-37ea-9da5-46c5-4c167ac79e8a@gmail.com>

* 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