Re: Query is over 2x slower with jit=on - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Query is over 2x slower with jit=on
Date
Msg-id 20180822165155.tjbib4pewnbiyy4x@alap3.anarazel.de
Whole thread Raw
In response to Sv: Re: Query is over 2x slower with jit=on  (Andreas Joseph Krogh <andreas@visena.com>)
Responses Sv: Re: Query is over 2x slower with jit=on
Re: Query is over 2x slower with jit=on
Re: Query is over 2x slower with jit=on
List pgsql-hackers
On 2018-08-22 18:39:18 +0200, Andreas Joseph Krogh wrote:
> Just to be clear; The query really runs slower (wall-clock time), it's not 
> just the timing.

I bet it's not actually running slower, it "just" takes longer to start
up due to the JITing in each worker. I suspect what we should do is to
multiple the cost limits by the number of workers, to model that.  But
without the fixed instrumentation that's harder to see...

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Stored procedures and out parameters
Next
From: David Steele
Date:
Subject: Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)