pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: j.random.programmer <javadesigner@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: Some simple JDBC profiling results
Date: Wed, 23 Aug 2006 12:55:11 -0700 (PDT)
Message-ID: <20060823195511.93081.qmail@web32004.mail.mud.yahoo.com> (raw)

Hi, just FYI.

I ran a profiler recently on some java code (part of
which was using
the postgres JDBC driver) and saw the following
hotspots within the driver:

org.postgresql.core.Encoding.decode (line: 193)
org.postgresql.core.Encoding.decode (line: 347)

I think there might be excessive new String creation
at those points
cause those 2 lines really light up the profiler.

Best regards,
--j

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (2+ messages)  latest in thread

Message-ID: <20060823195511.93081.qmail@web32004.mail.mud.yahoo.com>
Permalink:  ../20060823195511.93081.qmail@web32004.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20060823195511.93081.qmail@web32004.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: javadesigner@yahoo.com
  Subject: Re: Some simple JDBC profiling results
  In-Reply-To: <20060823195511.93081.qmail@web32004.mail.mud.yahoo.com>
  References: <20060823195511.93081.qmail@web32004.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox