| From: | Dmitry Dolgov <9erthalion6(at)gmail(dot)com> |
|---|---|
| To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Cc: | David Rowley <dgrowleyml(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [RFC] Add jit deform_counter |
| Date: | 2023-08-14 14:36:42 |
| Message-ID: | 20230814143642.4hczqd52maupbant@erthalion.local |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> On Wed, Jul 19, 2023 at 05:18:29PM +0200, Dmitry Dolgov wrote:
> > On Tue, Jul 18, 2023, 3:32 PM Daniel Gustafsson <daniel(at)yesql(dot)se> wrote
> >> Here is the patch with the proposed variation.
> >
> > This version still leaves non-text EXPLAIN formats with timing which
> doesn't
> > add up. Below are JSON and XML examples:
>
> Good point. For the structured formats it should be represented via a nested
> level. I'll try to do this and other proposed changes as soon as I'll get
> back.
And here is it. The json version of EXPLAIN now looks like this:
"JIT": {
[...]
"Timing": {
"Generation": {
"Deform": 0.000,
"Total": 0.205
},
"Inlining": 0.065,
"Optimization": 2.465,
"Emission": 2.337,
"Total": 5.072
}
},
| Attachment | Content-Type | Size |
|---|---|---|
| v6-0001-Add-deform_counter.patch | text/x-diff | 5.9 KB |
| v6-0002-Add-deform_counter-to-pg_stat_statements.patch | text/x-diff | 9.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Yugo NAGATA | 2023-08-14 14:37:25 | Re: Make psql's qeury canceling test simple by using signal() routine of IPC::Run |
| Previous Message | Yugo NAGATA | 2023-08-14 14:31:53 | Re: pgbench: allow to exit immediately when any client is aborted |