aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-07-08 11:23:15 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-07-08 11:23:15 -0400
commit0b096e379e6f9bd49d38020d880a7da337e570ad (patch)
treea5175fa4dc74d1dc92c5a79b8036841f607eeaeb /src/backend/access/transam/commit_ts.c
parenta27893df45ec5d8c657899202e9cf0b9a816fe2f (diff)
downloadpostgresql-0b096e379e6f9bd49d38020d880a7da337e570ad.tar.gz
postgresql-0b096e379e6f9bd49d38020d880a7da337e570ad.zip
Change pg_test_timing to measure in nanoseconds not microseconds.
Most of our platforms have better-than-microsecond timing resolution, so the original definition of this program is getting less and less useful. Make it report nanoseconds not microseconds. Also, add a second output table that reports the exact observed timing durations, up to a limit of 1024 ns; and be sure to report the largest observed duration. The documentation for this program included a lot of system-specific details that now seem largely obsolete. Move all that text to the PG wiki, where perhaps it will be easier to maintain and update. Also, improve the TAP test so that it actually runs a short standard run, allowing most of the code to be exercised; its coverage before was abysmal. Author: Hannu Krosing <hannuk@google.com> Co-authored-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/be0339cc-1ae1-4892-9445-8e6d8995a44d@eisentraut.org
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions