From: Tomas Pospisek's Mailing Lists Date: 2007-09-24T06:36:40+09:00 Subject: Re: How fast does your Ruby run? On Sun, 23 Sep 2007, xx xx wrote: > Tomas Pospisek's Mailing Lists wrote: >> On Sun, 23 Sep 2007, Rick DeNatale wrote: > >> So what's wrong with Debian's Ruby packaging and what would be the >> proper >> way? (AFAIcan see the above problem doesn't have anything to do with >> Debian's packaging but instead with a compile flag?) > > Probably it depends on architecture of the binary-package which was > prepared for. > it's too "universal". for example binary packages are made por i386 , > not for i686. However the data I have available indicate that compiling ruby for i486 (afaik Debian compiles for i486 and not i386) instead of against i686 doesn't matter much: On Sat, 22 Sep 2007, Josip Gracin wrote: > Here are the real results, indicating how ruby was compiled: > > 1. CFLAGS="-O3 -mcpu=i686 -march=i686 -mtune=i686" ./configure > --target=i686-linux > > Ruby 1.8.5 on i686-linux > It took 6.561333 seconds to run. 152408 iterations per > second. > > > 2. CFLAGS="-O3 -mcpu=i486 -march=i486 -mtune=i486" ./configure > --target=i486-linux > > Ruby 1.8.5 on i486-linux > It took 6.847393 seconds to run. 146040 iterations per > second. Which would make a difference of rougly 4%. Am I misstaken? Anything else that sucks so bad with Debian packaging? *t -- ----------------------------------------------------------- Tomas Pospisek http://sourcepole.com - Linux & Open Source Solutions -----------------------------------------------------------