Re: JAVA vs PERL : PERL wins to postgreSQL

From: Anders Bengtsson <ndrsbngtssn(at)yahoo(dot)se>
To: andy <andy(at)exkom(dot)co(dot)za>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JAVA vs PERL : PERL wins to postgreSQL
Date: 2001-09-03 19:34:37
Message-ID: Pine.LNX.4.33.0109032131340.8917-100000@sensenet.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)yahoo(dot)se
Stockholm, Sweden

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Quentin DELANCE 2001-09-03 20:05:36 Re: RE : ? (question mark) characters
Previous Message Joe Shevland 2001-09-03 18:00:07 Re: JAVA vs PERL : PERL wins to postgreSQL