Re: hexadecimal to decimal - Mailing list pgsql-general

From Joe Conway
Subject Re: hexadecimal to decimal
Date
Msg-id 3F28941D.1070008@joeconway.com
Whole thread Raw
In response to Re: hexadecimal to decimal  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: hexadecimal to decimal  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Presumably, the 50 msec difference represents the time to load up the
> perl library and initialize a perl interpreter.
>
> It might help if libperl were to be preloaded into the postmaster in the
> way you created ...
>

I tried that after I posted, but only saw roughly 30% improvement (which
is consistent with my earlier tests IIRC). Not bad, but this still left
plperl initial call at ~40 msec versus plpgsql at ~4 msec. It is
possible that the initialization function that I used,
plperl_init_all(), doesn't include everything it could. I might play
around with it when I get a few moments.

Joe


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: hexadecimal to decimal
Next
From: Tom Lane
Date:
Subject: Re: hexadecimal to decimal