caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David Baelde" <david.baelde@gmail.com>
To: "Jacques Garrigue" <garrigue@math.nagoya-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Optimizing Array.blit
Date: Tue, 10 Apr 2007 12:08:54 +0200	[thread overview]
Message-ID: <53c655920704100308s567a86f0rf189a8ee4a0a3a61@mail.gmail.com> (raw)
In-Reply-To: <20070410.102630.63130168.garrigue@math.nagoya-u.ac.jp>

Hi,

Thanks a lot for that advice, I was stupid not to try that before. I
got a 4 fold improvement too on my PIV desktop machine, which brings
the specialized ML code about as fast as the C code. This does not
change when I pass -O3 to gcc.

However, I ran the test on a dedibox, which has a VIA processor. The
machine is loaded so it's difficult to conclude anything, but I get
quite always the same surprising figures: without -O3 I get 0.57 for
the C code, 0.91 for the generic ML and 0.25 for the specialized ML;
with -O3 I get 0.12 for the C code, same for the others.

Optimizing is boring...
-- 
David


      reply	other threads:[~2007-04-10 10:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04 22:19 David Baelde
2007-04-05 17:56 ` [Caml-list] " Tom
2007-04-05 21:54   ` Florian Weimer
2007-04-06  7:00     ` David Baelde
2007-04-10  0:13 ` David Baelde
2007-04-10  1:26   ` [Caml-list] " Jacques Garrigue
2007-04-10 10:08     ` David Baelde [this message]

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=53c655920704100308s567a86f0rf189a8ee4a0a3a61@mail.gmail.com \
    --to=david.baelde@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=david.baelde@ens-lyon.org \
    --cc=garrigue@math.nagoya-u.ac.jp \
    /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;
as well as URLs for NNTP newsgroup(s).