HiPE compilation gives NINE times speed increase!
Peter-Henry Mander
erlang@REDACTED
Mon Jan 17 12:52:01 CET 2005
Thanks Kostis, thanks Matthias,
Kostis, the effort certainly pays dividends, thanks. What is the
average speedup you expect to see?
Do you mean 2x speedup over a previous test run, Matthias? In which
case, my code stinks! I'll try to reproduce your result by avoiding
try-catch.
Pete.
On Mon, 17 Jan 2005 12:15:48 +0100
Matthias Lang <matthias@REDACTED> wrote:
> Kostis Sagonas writes:
>
> > The speedup you get in this program is indeed more than average but is
> > not so surprising. We've put quite some effort in efficiently compiling
> > binaries to native code, the compiler optimizations that HiPE performs
> > are quite effective in such code, and we've experienced similar speedups
> > in some programs manipulating binaries. On the other hand try-catch has
> > nothing to do with the speedup; it is entirely due to HiPE's compilation
> > of binaries.
>
> Replacing the (hideous, IMO) try/catch stuff with some normal code
> nets me a 3.5x speedup for BEAM and a 2x speedup for HIPE. Peak memory
> use is also much less, under 100MB.
>
> Assuming I didn't make a mistake, that is.
>
> Matthias
--
"The Tao of Programming
flows far away
and returns
on the wind of morning."
More information about the erlang-questions
mailing list