Re: jdbc driver performance TODO
On Sat, 28 Oct 2006, Julien Patrouix wrote:
In my opinion, improvements could be made in the encoding/decoding of the
protocole messages (Ie the PGStream class).
From what I have seen thanks to a profiler some methods are over invoked, and
the numeric encoding is not as efficient as it could be.
That numeric encoding/decoding is used very often, even for the protocole
purposes, not only for data encoding.
Furthermore, it would be interesting not to use the java BufferedStream
implementation, and use a specific one so as to directly manage and access
the buffer.
This is what Mikko Tiihonen has done here and I intend to apply it next
week. http://archives.postgresql.org/pgsql-jdbc/2006-09/msg00163.php
I use a driver I have optimized, and submitted these obervations a couple of
time to the list, but I'm really sorry I can't contribute more for a long
time I'm afraid
I've never seen a patch come across this list. Could you retry or point
me to an archives entry?
Kris Jurka
Home |
Main Index |
Thread Index