From: Adam Kramer Date: 2007-09-05T15:01:58+09:00 Subject: Re: Ruby is much slower on linux when compiled with --enable-pthread? On Sep 4, 2007 9:04 PM, M. Edward (Ed) Borasky wrote: > Jeffrey 'jf' Lim wrote: > > Before you "configure", type > > export CFLAGS='-g -pg' I tried this earlier today, gprof doesn't seem to be able to trace the extra time that's incurred due to the system calls. As far as gprof was concerned, the --enable-pthread version was faster, even though it took more system time and wall time. I also tried with gdb and set a breakpoint on setprocmask but that didn't work - it only stopped on 4 calls to setprocmask, not millions. -- -Adam