X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 09AB19FB3BA for ; Wed, 23 Aug 2006 17:48:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 77785-08 for ; Wed, 23 Aug 2006 20:48:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web32001.mail.mud.yahoo.com (web32001.mail.mud.yahoo.com [68.142.207.98]) by postgresql.org (Postfix) with SMTP id 87E799FB1F0 for ; Wed, 23 Aug 2006 17:48:21 -0300 (ADT) Received: (qmail 64806 invoked by uid 60001); 23 Aug 2006 20:48:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dKVMl77/QlMWbBueQ+SB7oA+w116Iqjd7v6+QQyMe/a+ajhYLcsi6ZwYdKoaeAn5oyzuIsmiP+VHe5HNXTIm9gtwZ79V7CF7UGmAJjNWjIR+gjZ3+zl+4TYIobREFl93JDN96hwxkS4RZYf5YqIqv2P8ZMT00vo2blnedJvDZzM= ; Message-ID: <20060823204820.64804.qmail@web32001.mail.mud.yahoo.com> Received: from [128.91.25.74] by web32001.mail.mud.yahoo.com via HTTP; Wed, 23 Aug 2006 13:48:20 PDT Date: Wed, 23 Aug 2006 13:48:20 -0700 (PDT) From: "j.random.programmer" Subject: Some more profiling hotspots To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.816 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/109 X-Sequence-Number: 15636 As per my previous email, the biggest JDBC driver bottleneck is in: ------------------------------------------------- org.postgresql.core.Encoding.decode [new string creation in various places] ------------------------------------------------- But here are some more profiled hotspots (note, the line numbers may *not* be accurate but the method names *are* accurate): org.postgresql.core.PGStream.ReceiveString (line: 1487) org.postgresql.core.v3.QueryExecutorImpl.receiveFields (line: 1364) org.postgresql.jdbc2.AbstractJdbc2ResultSet.getFixedString org.postgresql.jdbc2.AbstractJdbc2ResultSet.getTime (line: 2049) org.postgresql.jdbc2.TimestampUtils.toTime (line: 404) org.postgresql.jdbc2.AbstractJdbc2ResultSet.getXXX... Best regards, --j __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com