help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] the test test - a more detailed analysis of image c


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] the test test - a more detailed analysis of image contents
Date: Tue, 21 Jul 2009 22:06:40 +0200
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

nicolas petton wrote:
> Using a LookupTable in ActionRegistry seems to slow down Iliad (a few ms
> per request). More importantly, gst does a *lot* of garbage collections
> (every 5 requests or so). This is very annoying, because it really slows
> down the response time.

I can only guess that this:

2003-06-25  Paolo Bonzini  <address@hidden>

        * kernel/LookupTable.st: Remove values instance variable,
        store key/value pairs in adjacent slots.

was a bad idea.

But, the garbage collection still puzzles me.

Can you try adding a _gst_show_backtrace(stdout) in _gst_global_gc and
see what is printed?

Alternatively, I see you also have OrderedCollection in Session for the
per-widget Action registries.  Can you test the performance of
Dictionary vs. LookupTable there, too?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]