Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Issac Trotts <ijtrotts@ucdavis.edu>
To: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] DFT in OCaml vs. C
Date: Thu, 27 Mar 2003 12:47:30 -0800	[thread overview]
Message-ID: <3E836362.6040802@ucdavis.edu> (raw)
In-Reply-To: <20030327142101.GB1931@fichte.ai.univie.ac.at>

Markus Mottl wrote:

>On Wed, 26 Mar 2003, Issac Trotts wrote:
>  
>
>>The results on my 1 GHZ Pentium III Linux box:
>>
>>C:
>>real    0m21.273s
>>user    0m21.200s
>>sys     0m0.040s
>>
>>OCaml:
>>real    1m51.602s
>>user    1m47.020s
>>sys     0m0.260s
>>    
>>
>
>Well, another insignificant benchmark... ;-)
>
>My timings on a 2.4 GHZ Pentium IV using GCC 2.95.4 and the latest
>CVS-checkout of OCaml:
>
>C:
>real    0m24.920s
>user    0m24.900s
>sys     0m0.020s
>
>OCaml:
>real    0m30.397s
>user    0m30.390s
>sys     0m0.000s
>
>The difference you have observed on your machine is most likely due to
>cache effects and possibly also due to compiler differences (GCC version).
>
Probably, but the C version doesn't seem as sensitive to these things.

Issac



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-03-27 20:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-27  7:33 Issac Trotts
2003-03-27 10:58 ` Fabrice Le Fessant
2003-03-27 19:40   ` Issac Trotts
2003-03-27 14:21 ` Markus Mottl
2003-03-27 20:47   ` Issac Trotts [this message]
2003-03-27 14:32 ` Xavier Leroy
2003-03-27 14:55   ` Falk Hueffner
2003-03-27 16:06   ` OCaml performance (was: Re: [Caml-list] DFT in OCaml vs. C) David Monniaux
2003-03-27 21:27     ` Issac Trotts
2003-03-27 20:54   ` [Caml-list] DFT in OCaml vs. C Issac Trotts

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E836362.6040802@ucdavis.edu \
    --to=ijtrotts@ucdavis.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox