Reduce timing overhead of EXPLAIN ANALYZE using rdtsc

Edit
ID 5622
Title Reduce timing overhead of EXPLAIN ANALYZE using rdtsc
CI (CFBot) Needs rebase! Needs rebase since 1 week. Failing since 1 week.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Topic Performance
Tags
Created 2025-03-01 07:48:09
Last modified 2025-07-27 19:52:27 (1 week ago)
Latest email 2025-07-29 02:30:11 (1 week ago)
Status
PG19-2 (2025-09-01 - 2025-09-30): Needs review
2025-03 (2025-03-01 - 2025-04-08): Moved to different CF
Target version
Authors Andres Freund (andresfreund), Lukas Fittl (lfittl), David Geier (geidav)
Reviewers Become reviewer
Committer
Links
Emails
Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
First at 2020-06-12 23:28:10 by Andres Freund <andres at anarazel.de>
Latest at 2025-07-29 02:30:11 by Michael Paquier <michael at paquier.xyz>
Latest attachment (v11-0003-pg_test_timing-Add-fast-flag-to-test-fast-timing.patch) at 2025-07-27 19:50:54 from Lukas Fittl <lukas at fittl.com>
    Attachment (v11-0003-pg_test_timing-Add-fast-flag-to-test-fast-timing.patch) at 2025-07-27 19:50:54 from Lukas Fittl <lukas at fittl.com> (Patch: Yes)
    Attachment (v10-0001-instr_time-Add-INSTR_TIME_SET_SECONDS-INSTR_TIME.patch) at 2025-03-01 07:45:58 from Lukas Fittl <lukas at fittl.com> (Patch: Yes)
    Attachment (v9-0001-instr_time-Add-INSTR_TIME_SET_SECONDS-INSTR_TIME_.patch) at 2023-02-20 10:36:32 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (v8-0001-instr_time-Add-INSTR_TIME_SET_SECONDS-INSTR_TIME_.patch) at 2023-02-14 11:11:01 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (v7-0001-instr_time-Add-INSTR_TIME_SET_SECONDS-INSTR_TIME_.patch) at 2023-01-24 13:30:34 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (v9-0001-instr_time-Add-INSTR_TIME_SET_SECONDS-INSTR_TIME_.patch) at 2023-01-21 05:31:57 from Andres Freund <andres at anarazel.de> (Patch: Yes)
    Attachment (v8-0001-Zero-initialize-instr_time-uses-causing-compiler-.patch) at 2023-01-21 00:40:32 from Andres Freund <andres at anarazel.de> (Patch: Yes)
    Attachment (v7-0001-Zero-initialize-instr_time-uses-causing-compiler-.patch) at 2023-01-17 16:47:58 from Andres Freund <andres at anarazel.de> (Patch: Yes)
    Attachment (0001-Change-instr_time-to-just-store-nanoseconds-v6.patch) at 2023-01-04 12:02:05 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (0001-Change-instr_time-to-just-store-nanoseconds-v5.patch) at 2023-01-03 08:38:20 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (0001-Change-instr_time-to-just-store-nanoseconds-v4.patch) at 2023-01-02 13:28:20 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (0001-WIP-Change-instr_time-to-just-store-nanoseconds-v3.patch) at 2022-11-19 20:06:23 from David Geier <geidav.pg at gmail.com> (Patch: Yes)
    Attachment (v2-0002-WIP-Use-cpu-reference-cycles-via-rdtsc-to-measure.patch) at 2022-07-01 08:23:01 from Lukas Fittl <lukas at fittl.com> (Patch: Yes)
    Attachment (v1-0001-WIP-Change-instr_time-to-just-store-nanoseconds-t.patch) at 2020-06-12 23:28:10 from Andres Freund <andres at anarazel.de> (Patch: Yes)
History
When Who What
2025-08-01 09:33:21 CFbot Patch needs rebase
2025-07-28 20:22:27 CFbot Patch does not need rebase anymore
2025-07-27 19:52:27 Lukas Fittl (lfittl) New status: Needs review
2025-07-27 19:51:45 Lukas Fittl (lfittl) Moved from CF 2025-03 to CF PG19-2
2025-03-11 04:14:43 vigneshwaran C (vignesh.postgres) New status: Waiting on Author
2025-03-06 13:19:42 CFbot Patch needs rebase
2025-03-01 07:48:36 Lukas Fittl (lfittl) Changed authors to Andres Freund (andresfreund), Lukas Fittl (lfittl), David Geier (geidav)
2025-03-01 07:48:10 Lukas Fittl (lfittl) Attached mail thread 20200612232810.f46nbqkdhbutzqdg@alap3.anarazel.de
2025-03-01 07:48:09 Lukas Fittl (lfittl) Created patch record
Edit