summaryrefslogtreecommitdiff
path: root/src/include/postmaster/fork_process.h
diff options
context:
space:
mode:
authorJacob Champion <jchampion@postgresql.org>2025-10-01 09:48:57 -0700
committerJacob Champion <jchampion@postgresql.org>2025-10-01 09:48:57 -0700
commitfd726b8379a8191da9e74d28761c967eda13f5f2 (patch)
tree86ea0381cd4c29f0a7a962f57a01a0d693bb5823 /src/include/postmaster/fork_process.h
parent3e908fb54ff8fa857180bc212ca79c7bd95dcc2c (diff)
test_json_parser: Speed up 002_inline.plHEADorigin/masterorigin/HEADmaster
Some macOS machines are having trouble with 002_inline, which executes the JSON parser test executables hundreds of times in a nested loop. Both developer machines and buildfarm critters have shown excessive test durations, upwards of 20 seconds. Push the innermost loop of 002_inline, which iterates through differing chunk sizes, down into the test executable. (I'd eventually like to push all of the JSON unit tests down into C, but this is an easy win in the short term.) Testers have reported a speedup between 4-9x. Reported-by: Robert Haas <robertmhaas@gmail.com> Suggested-by: Andres Freund <andres@anarazel.de> Tested-by: Andrew Dunstan <andrew@dunslane.net> Tested-by: Tom Lane <tgl@sss.pgh.pa.us> Tested-by: Robert Haas <robertmhaas@gmail.com> Discussion: https://postgr.es/m/CA%2BTgmobKoG%2BgKzH9qB7uE4MFo-z1hn7UngqAe9b0UqNbn3_XGQ%40mail.gmail.com Backpatch-through: 17
Diffstat (limited to 'src/include/postmaster/fork_process.h')
0 files changed, 0 insertions, 0 deletions