On Thu, Mar 01, 2007 at 07:32:42AM +0000, Xavier Calbet wrote:
[SNIP]
> I have run these benchmarks without running anything else on the computer.
> I have done this several times and have obtained consistent times.
> Is there a better way to measure the time without resorting to date?
> 
> The results are the following:
> 
> gcc             201 sec
> g77             201 sec
> PDL            651 sec
> IDL             694 sec
> MatLab     2738 sec
> Octave      2031 sec

I'll have a look at the code in a bit, but just wanted to say, I'd use
`time` instead of `date`. As this gives you the amount of time spent in
userland, system overhead and execution. I prefer the break down
really. (Usage would be: `time ./mandel.pl` )

Also do you care about startup times? As in Matlab takes a good half
minute or there abouts to start up on my machine... Would it make more
sense to do the timing within the languages? Then you could go further
and iterate the function. I don't know, how much detail do you really
want to get into?

Regards
Timothy


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to