diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-16 12:35:25 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-16 12:35:25 -0500 |
commit | fccaf259f22f4aedc02033516c561ca86903077d (patch) | |
tree | 74dc395d3c24b0035338f8292c8539a0bc75cdf5 /src/backend/utils/adt/ruleutils.c | |
parent | 8e1db29cdbbd218ab6ba53eea56624553c3bef8c (diff) | |
download | postgresql-fccaf259f22f4aedc02033516c561ca86903077d.tar.gz postgresql-fccaf259f22f4aedc02033516c561ca86903077d.zip |
Shave some cycles off subscription/t/100_bugs.pl tests.
We can re-use the clusters set up for this test script's first test,
instead of generating new ones. On my machine this is good for
about a 20% reduction in this script's runtime, from ~6.5 sec to
~5.2 sec.
This idea could be taken further, but it'd require a much more invasive
patch. These cases are easy because the Perl variable names were
already being re-used.
Anton A. Melnikov
Discussion: https://postgr.es/m/eb7aa992-c2d7-6ce7-4942-0c784231a362@inbox.ru
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions