[m-dev.] for review: zero uninstantiated fields of constructions
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Jun 4 16:47:49 AEST 1999
On 04-Jun-1999, David Overton <dmo at cs.mu.OZ.AU> wrote:
>
> I've made this change. Here are some timings for compiling
> make_hlds.m with various compilers (all compiled in the asm_fast.gc grade,
> running on murlibobo):
>
> compiler built with -O6
>
> 202.841u 1.062s 3:24.12 99.8% 9+494k 0+239io 0pf+0w
> 201.909u 0.991s 3:23.39 99.7% 9+494k 0+267io 0pf+0w
> 203.158u 1.001s 3:24.50 99.8% 9+493k 0+256io 0pf+0w
>
> -O6 --optimize-constructor-last-call (no zeroing of uninstantiated fields)
>
> 192.669u 1.110s 3:19.69 97.0% 9+503k 703+251io 0pf+0w
> 193.836u 0.901s 3:15.18 99.7% 9+503k 44+254io 0pf+0w
> 192.275u 0.909s 3:13.78 99.6% 9+502k 45+261io 0pf+0w
That's a 5% speedup on the compiler itself, which is
pretty hard to optimize. Congratulations!
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list