On Tuesday, 2 September 2003 at 4:48:58 +0900, Steven Lumos wrote: > Jim Freeze <jim / freeze.org> wrote in message news:<20030828184837.A68396 / freeze.org>... > > On Friday, 29 August 2003 at 5:34:15 +0900, Brian Candler wrote: > > Maybe you're using the wrong Sun: > > $ time ruby tail # blind gcc compile > 499999500000 > > real 0m3.943s > user 0m3.910s > sys 0m0.000s What do you mean wrong Sun? > or the wrong compiler: > > $ time ruby tail # Sun compiler with optimizations[1] > 499999500000 > > real 0m1.608s > user 0m1.590s > sys 0m0.010s > > Of course, some people care a little more about IO than addition! > Have you tried to get the same performance with gcc? Do you have a process for building Ruby with the optimizations below? > Steve > > [1] CFLAGS="$(getconf LFS64_CFLAGS) -dalign -fns -ftrap=%none -nofstore > -xbuiltin=%all -xtarget=native -xarch=v9 -xO5 -D__sparc_v9__" > LDFLAGS="$(getconf LFS64_LDFLAGS) -L/opt/SUNWspro/WS6U2/lib" > DLDFLAGS="$(getconf LFS64_LDFLAGS) -L/opt/SUNWspro/WS6U2/lib" > LIBS="$(getconf LFS64_LIBS) -lfast" -- Jim Freeze ---------- Never settle with words what you can accomplish with a flame thrower.