pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Speed of different procedural language
Date: Wed, 21 Dec 2005 12:06:47 +0100
Message-ID: <20051221110647.GA17360@uio.no> (raw)
In-Reply-To: <do2cr4$sc5$1@news.hub.org>
References: <do2cr4$sc5$1@news.hub.org>

On Sun, Dec 18, 2005 at 01:10:21AM -0000, Ben Trewern wrote:
> I know I should be writing these in C but that's a bit beyond me.  I was 
> going to try PL/Python or PL/Perl or even PL/Ruby.  Has anyone any idea 
> which language is fastest, or is the data access going to swamp the overhead 
> of small functions?

I'm not sure if it's what you ask for, but there _is_ a clear difference
between the procedural languages -- I've had a 10x speed increase from
rewriting PL/PgSQL stuff into PL/Perl, for instance. I'm not sure which ones
would be faster, though -- I believe Ruby is slower than Perl or Python
generally, but I don't know how it all works out in a PL/* setting.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (10+ messages)  latest in thread

Message-ID: <20051221110647.GA17360@uio.no>
Permalink:  ../20051221110647.GA17360@uio.no/
Also on:    postgresql.org/message-id/20051221110647.GA17360@uio.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sgunderson@bigfoot.com
  Subject: Re: Speed of different procedural language
  In-Reply-To: <20051221110647.GA17360@uio.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox