[MacRuby-devel] v0.7 and v0.6 timeout problem

Thibault Martin-Lagardette thibault.ml at gmail.com
Fri May 7 08:59:10 PDT 2010


Hi!

The problem might have been some Internationalization cache somewhere, which is why I thought about rebooting.
Glad it fixed the problem :-).

As for loading framework Cocoa, 0.7 is not really that slower, it just depends on which one you're calling first:

$> time macruby_select 0.5 -e 'framework "Cocoa"'
real	0m1.832s
user	0m0.400s
sys	0m0.093s
$> time macruby_select 0.7 -e 'framework "Cocoa"'
real	0m0.540s
user	0m0.597s
sys	0m0.077s

As you can see, because I ran 0.5 first, it is slower than 0.7
But if I re-run the same command lines just after:

$> time macruby_select 0.5 -e 'framework "Cocoa"'
real	0m0.447s
user	0m0.359s
sys	0m0.057s
$> time macruby_select 0.7 -e 'framework "Cocoa"'
real	0m0.498s
user	0m0.606s
sys	0m0.080s

As you can see, the times are almost similar. 0.7 is still 50 to 200ms slower sometimes, but not 1 second :-)

-- 
Thibault Martin-Lagardette



On May 7, 2010, at 06:28, B. Ohr wrote:

> Hi,
> 
> thanks, after the reboot (not stupid!) the problem disappeared!
> 
> Very interesting, I didn’t expected that because 0.5 had no problems.
> 
> Maybe that happened because 0.7 is still slower than 0.5:
> 
> $ time macruby_select 0.7 -e 'framework "Cocoa“‘
> real	0m0.626s
> user	0m0.665s
> sys	0m0.085s
> 
> $ time macruby_select 0.5 -e 'framework "Cocoa“‘
> real	0m0.385s
> user	0m0.378s
> sys	0m0.053s
> 
> - Bernd
> 
> 
> Am 07.05.2010 um 00:25 schrieb Thibault Martin-Lagardette:
> 
>> Hi!
>> 
>> I cannot really reproduce this unfortunately, but I would have a couple of questions:
>> - That might be stupid, but did you try rebooting?
>> - What language are you using on your system?
>> - Did you ever try to "shrink" applications by getting rid of different languages?
>> 
>> Thanks :-)
>> 
>> -- 
>> Thibault Martin-Lagardette
>> 
>> 
>> 
>> On May 5, 2010, at 22:10, B. Ohr wrote:
>> 
>>> Hi, I have strange timeout problems with 0.6 and 0.7
>>> 
>>> $ time macruby_select 0.7 -e 'framework "Cocoa"'
>>> 2010-05-06 07:03:55.018 macruby[1922:607] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
>>> real	0m1.588s
>>> user	0m0.699s
>>> sys	0m0.096s
>>> 
>>> 0.6 takes even longer:
>>> 
>>> $ time macruby_select 0.6 -e 'framework "Cocoa"'
>>> 2010-05-06 07:03:43.672 macruby[1913:607] __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking to pbs
>>> real	0m2.170s
>>> user	0m0.698s
>>> sys	0m0.102s
>>> 
>>> while 0.5 has no timeout:
>>> 
>>> $ time macruby_select 0.5 -e 'framework "Cocoa“‘
>>> real	0m0.398s
>>> user	0m0.380s
>>> sys	0m0.057s
>>> 
>>> I’m still on OS X Version 10.6.2, is that the reason?
>>> 
>>> In the meantime I removed the MacRuby runtimes ala Matt Aimonetti, but that did’nt help.
>>> 
>>> - Bernd
>>> 
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list