[m-dev.] timings for lco with current compiler

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jan 12 23:25:44 AEDT 2009


Hi,

As I mentioned on mercury-users, here are the timings for the speedtest
benchmark with the current compiler (run on goliath).  The benchmark
was run in both the asm_fast.gc and hlc.gc grades, with and without
intermodule optimisation and lco and at -O2,-O3,-O4 and -O5.
(A caveat: since bug #57 has yet to be fixed, some tail call
opportunities created by lco may not be taken advantage of.)


Another point of interest here is the performance of the
compiler in hlc.gc at -O4.

Julien.

EXTRA_MCFLAGS = -O2
GRADE = asm_fast.gc
mercury_compile.01 average of 6 with ignore=1     11.44
EXTRA_MCFLAGS = -O2 --optimize-constructor-last-call
GRADE = asm_fast.gc
mercury_compile.02 average of 6 with ignore=1     11.63
EXTRA_MCFLAGS = -O2 --intermodule-optimization
GRADE = asm_fast.gc
mercury_compile.03 average of 6 with ignore=1     10.93
EXTRA_MCFLAGS = -O2 --intermodule-optimization --optimize-constructor-last-call 
GRADE = asm_fast.gc
mercury_compile.04 average of 6 with ignore=1     10.85
EXTRA_MCFLAGS = -O3
GRADE = asm_fast.gc
mercury_compile.05 average of 6 with ignore=1     11.10
EXTRA_MCFLAGS = -O3 --optimize-constructor-last-call
GRADE = asm_fast.gc
mercury_compile.06 average of 6 with ignore=1     11.16
EXTRA_MCFLAGS = -O3 --intermodule-optimization
GRADE = asm_fast.gc
mercury_compile.07 average of 6 with ignore=1     10.34
EXTRA_MCFLAGS = -O3 --intermodule-optimization --optimize-constructor-last-call 
GRADE = asm_fast.gc
mercury_compile.08 average of 6 with ignore=1     10.36
EXTRA_MCFLAGS = -O4
GRADE = asm_fast.gc
mercury_compile.09 average of 6 with ignore=1     11.04
EXTRA_MCFLAGS = -O4 --optimize-constructor-last-call
GRADE = asm_fast.gc
mercury_compile.10 average of 6 with ignore=1     11.18
EXTRA_MCFLAGS = -O4 --intermodule-optimization
GRADE = asm_fast.gc
mercury_compile.11 average of 6 with ignore=1     10.26
EXTRA_MCFLAGS = -O4 --intermodule-optimization --optimize-constructor-last-call 
GRADE = asm_fast.gc
mercury_compile.12 average of 6 with ignore=1     10.38
EXTRA_MCFLAGS = -O5
GRADE = asm_fast.gc
mercury_compile.13 average of 6 with ignore=1     11.19
EXTRA_MCFLAGS = -O5 --optimize-constructor-last-call
GRADE = asm_fast.gc
mercury_compile.14 average of 6 with ignore=1     11.17
EXTRA_MCFLAGS = -O5 --intermodule-optimization
GRADE = asm_fast.gc
mercury_compile.15 average of 6 with ignore=1     10.23
EXTRA_MCFLAGS = -O5 --intermodule-optimization --optimize-constructor-last-call
GRADE = asm_fast.gc
mercury_compile.16 average of 6 with ignore=1     10.38
EXTRA_MCFLAGS = -O2
GRADE = hlc.gc
mercury_compile.17 average of 6 with ignore=1     11.45
EXTRA_MCFLAGS = -O2 --optimize-constructor-last-call
GRADE = hlc.gc
mercury_compile.18 average of 6 with ignore=1     11.55
EXTRA_MCFLAGS = -O2 --intermodule-optimization
GRADE = hlc.gc
mercury_compile.19 average of 6 with ignore=1     11.26
EXTRA_MCFLAGS = -O2 --intermodule-optimization --optimize-constructor-last-call 
GRADE = hlc.gc
mercury_compile.20 average of 6 with ignore=1     10.80
EXTRA_MCFLAGS = -O3
GRADE = hlc.gc
mercury_compile.21 average of 6 with ignore=1     10.81
EXTRA_MCFLAGS = -O3 --optimize-constructor-last-call
GRADE = hlc.gc
mercury_compile.22 average of 6 with ignore=1     11.22
EXTRA_MCFLAGS = -O3 --intermodule-optimization
GRADE = hlc.gc
mercury_compile.23 average of 6 with ignore=1     10.67
EXTRA_MCFLAGS = -O3 --intermodule-optimization --optimize-constructor-last-call 
GRADE = hlc.gc
mercury_compile.24 average of 6 with ignore=1     10.21
EXTRA_MCFLAGS = -O4
GRADE = hlc.gc
mercury_compile.25 average of 6 with ignore=1     12.23
EXTRA_MCFLAGS = -O4 --optimize-constructor-last-call
GRADE = hlc.gc
mercury_compile.26 average of 6 with ignore=1     10.93
EXTRA_MCFLAGS = -O4 --intermodule-optimization
GRADE = hlc.gc
mercury_compile.27 average of 6 with ignore=1      9.81
EXTRA_MCFLAGS = -O4 --intermodule-optimization --optimize-constructor-last-call 
GRADE = hlc.gc
mercury_compile.28 average of 6 with ignore=1     10.02
EXTRA_MCFLAGS = -O5
GRADE = hlc.gc
mercury_compile.29 average of 6 with ignore=1     10.92
EXTRA_MCFLAGS = -O5 --optimize-constructor-last-call
GRADE = hlc.gc
mercury_compile.30 average of 6 with ignore=1     11.03
EXTRA_MCFLAGS = -O5 --intermodule-optimization
GRADE = hlc.gc
mercury_compile.31 average of 6 with ignore=1     10.45
EXTRA_MCFLAGS = -O5 --intermodule-optimization --optimize-constructor-last-call 
GRADE = hlc.gc
mercury_compile.32 average of 6 with ignore=1     10.28
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list