On Mon, 3 Sep 2001, andy wrote:

> Hi,
>
> I ran a few bench marks on JAVA writing to a postgreSQL table using  and
> found that for the same number of records added to the table as a
> similar PERL routine the following results :
>      PERL 39 seconds : JAVA 45 Seconds.

How did you start the tests? For Java to really show it's strengh it
usually requires a few warm-up runs, so that the JIT or Hotspot optimizers
get started.
But I still wouldn't be surprised if perl was faster. I'm sure it's easier
to write a DBI/DBD driver than a JDBC driver.

/Anders
_____________________________________________________________________
A n d e r s  B e n g t s s o n                   [EMAIL PROTECTED]
Stockholm, Sweden


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to