[m-dev.] preliminary MLDS performance comparisons

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Mon May 15 09:43:58 AEST 2000


Fergus Henderson, you write:
> I've got some preliminary performance results.
> 
> ----------
> 
> First, here's a comparison of the effect of compiling via MLDS
> on compilation speed.  For this comparison, I'm just using a single
> version of the compiler (the one installed on hg, which was
> compiled with --grade asm_fast.gc -O4 --opt-space).
> 
> Since this is a test of compilation speed, I used `-O0'.
> But the effects with `-O2' are similar.
> 
> 						----- User time (seconds) -----
> Input file	Options		Speedup		total  front-end  back-end  gcc
> inst_match.m	-c -O0				 7.3    3.7	   1.3	    2.3
> inst_match.m	-c -O0 -H	30% 		 5.6    3.7        0.8      1.1
> table_gen.m	-c -O0			        11.3	6.7	   2.4      2.1
> table_gen.m	-c -O0 -H	20%		 9.4    6.7        1.0      1.6
> 
> The "speedup" column gives the relative improvement in user time
> from using the `-H' (a.k.a. `--high-level-code') option.
> 

What platform were these done on? Was it the x86?
After all, our original design was optimized for risc-like architectures,
not register-starved x86s. In that sense, it is probably more interesting
to compare the performance o nthe spar or alpha boxen. Not, that it isn't
good to get speedups on the x86 of course....

-- 
 Thomas Conway )O+     Every sword has two edges.
     Mercurian            <conway at cs.mu.oz.au>
--------------------------------------------------------------------------
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