Re: JAVA vs PERL : PERL wins to postgreSQL - Mailing list pgsql-jdbc

From Anders Bengtsson
Subject Re: JAVA vs PERL : PERL wins to postgreSQL
Date
Msg-id Pine.LNX.4.33.0109032131340.8917-100000@sensenet.localdomain
Whole thread Raw
In response to JAVA vs PERL : PERL wins to postgreSQL  (andy <andy@exkom.co.za>)
List pgsql-jdbc
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                   ndrsbngtssn@yahoo.se
Stockholm, Sweden


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


pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: RE : ? (question mark) characters
Next
From: "Robert J. Sanford, Jr."
Date:
Subject: Re: JAVA vs PERL : PERL wins to postgreSQL