Re: pgbench client-side performance issue on large scripts
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Daniel Verite" <daniel@manitou-mail.org>
Cc: pgsql-hackers@postgresql.org
Date: 2025-02-27T16:00:22Z
Lists: pgsql-hackers
"Daniel Verite" <daniel@manitou-mail.org> writes: > Tom Lane wrote: >> I got nerd-sniped by this question and spent some time looking into >> it. > Thank you for the patch! LGTM. Thanks for reviewing! Pushed after a tiny bit more polishing. regards, tom lane
Commits
-
Avoid unnecessary computation of pgbench's script line number.
- 6eb8a1a4f90c 18.0 landed
-
Get rid of O(N^2) script-parsing overhead in pgbench.
- c8c74ad7e1cb 18.0 landed