From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13544 invoked by alias); 19 Dec 2001 21:20:19 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 13530 invoked from network); 19 Dec 2001 21:20:18 -0000 Received: from unknown (HELO mail4.svr.pol.co.uk) (195.92.193.211) by sources.redhat.com with SMTP; 19 Dec 2001 21:20:18 -0000 Received: from modem-207.elendil.dialup.pol.co.uk ([62.136.183.207] helo=debian) by mail4.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 16Go8N-0007vA-00; Wed, 19 Dec 2001 21:20:16 +0000 Received: from bjg by debian with local (Exim 2.05 #1 (Debian)) id 16Gnyn-0001cX-00; Wed, 19 Dec 2001 21:10:21 +0000 From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15393.573.131198.615185@debian> Date: Wed, 19 Dec 2001 13:20:00 -0000 To: ronis@onsager.chem.mcgill.ca Cc: gsl-discuss@sources.redhat.com Subject: Re: Speed Issues In-Reply-To: <15391.48180.166836.933695@ronispc.chem.mcgill.ca> References: <15391.34013.675987.972662@ronispc.chem.mcgill.ca> <15391.46932.57669.695419@debian> <15391.47072.335581.217546@debian> <15391.48180.166836.933695@ronispc.chem.mcgill.ca> X-Mailer: VM 6.62 under Emacs 19.34.1 X-SW-Source: 2001/txt/msg00154.txt.bz2 David Ronis writes: > Hi Brian, > > The clock calls as far as I know, measure CPU time, not total runtime. > A comparison of the two routines would need to consider, - choice of algorithm - precision of result - convergence criteria - number of iterations / function evaluations If the 30% difference is a problem you could try the some of the other algorithms or use gprof to profile the library and look for hotspots. Brian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13544 invoked by alias); 19 Dec 2001 21:20:19 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 13530 invoked from network); 19 Dec 2001 21:20:18 -0000 Received: from unknown (HELO mail4.svr.pol.co.uk) (195.92.193.211) by sources.redhat.com with SMTP; 19 Dec 2001 21:20:18 -0000 Received: from modem-207.elendil.dialup.pol.co.uk ([62.136.183.207] helo=debian) by mail4.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 16Go8N-0007vA-00; Wed, 19 Dec 2001 21:20:16 +0000 Received: from bjg by debian with local (Exim 2.05 #1 (Debian)) id 16Gnyn-0001cX-00; Wed, 19 Dec 2001 21:10:21 +0000 From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15393.573.131198.615185@debian> Date: Thu, 13 Dec 2001 15:08:00 -0000 To: ronis@onsager.chem.mcgill.ca Cc: gsl-discuss@sources.redhat.com Subject: Re: Speed Issues In-Reply-To: <15391.48180.166836.933695@ronispc.chem.mcgill.ca> References: <15391.34013.675987.972662@ronispc.chem.mcgill.ca> <15391.46932.57669.695419@debian> <15391.47072.335581.217546@debian> <15391.48180.166836.933695@ronispc.chem.mcgill.ca> X-Mailer: VM 6.62 under Emacs 19.34.1 X-SW-Source: 2001-q4/txt/msg00154.txt.bz2 Message-ID: <20011213150800.wmFqyZs2FNK_PceR9u7rPYtjwJ-tK0ejpfuBpnwE6b4@z> David Ronis writes: > Hi Brian, > > The clock calls as far as I know, measure CPU time, not total runtime. > A comparison of the two routines would need to consider, - choice of algorithm - precision of result - convergence criteria - number of iterations / function evaluations If the 30% difference is a problem you could try the some of the other algorithms or use gprof to profile the library and look for hotspots. Brian