[Coco] compile times with copt2 and rmxlab
goosey at virgo.sdc.org
Sat Aug 27 20:59:48 EDT 2011
OK, I've been playing with rmxlab and copt2 a little bit.
focal0.c is the driver for the focal interpeter. It's 22K of source
doing various things.
Compiling this file with a shell script derived from CC1:
C_PREP -DOS9 -DDIR_SUPPORT -DOS9AF focal0.c >ctmp.3.m
ansifront < ctmp.3.m > ctmp.3.an
C.comp ctmp.3.an -o=ctmp.3.a
rmxlab ctmp.3.a > ctmp.3.ar
c.opt ctmp.3.ar ctmp.3.o
copt2 /dd/sys/patterns.dat < ctmp.3.o > ctmp.3.o2
rma ctmp.3.o2 -o=focal0.r
(No I don't normally use cc1. I use CC252 normally. Also there were no
speed tricks used here, no preloaded modules or ram disks or even a
non-fragmented hard drive. The only special constraint during these
compiles is that no other processes were running.)
no rmxlab, no copt2: 140 sec
rmxlab, no copt2 : 150 sec
no rmxlab, copt2 : 306 sec
rmxlab, copt2 : 313 sec
Rmxlab is supposed to speed up the optimizers and assember by removing
unused labels from the assembly code. It did trim 3 seconds off the
c.opt+copt2+rma train's runtime, but it took 10 seconds to run.
Willard Goosey goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
-- R.E. Howard
More information about the Coco