Stephen R. van den Berg wrote:
Stephen R. van den Berg wrote:
Peter Bortas @ Pike developers forum wrote: Well, I have fixed and brushed up the existing Postgres driver as much as I needed for the short term (it is stable in its current form and heavily tested in a production environment, I don't think I'll be making much changes there anymore in the future), I'm about to include an alternate driver (pgsql.pike) which is available as the second method to connect to PostgreSQL databases, and as it looks now, it is probably going to be the preferred method; over time the old driver could be deprecated perhaps.
The driver has been included, including ChangeLog updates. In profiling the driver, I notice a 50% slowdown compared to the libpq based driver. And while profiling the code, I notice that Pike somehow is spending *a lot* of time in regular calls to gettimeofday().
Anyone have any idea which part of Pike does that and why?