[Seaside] Profiling...

Michael Lucas-Smith mlucas-smith at cincom.com
Thu Nov 27 08:30:01 UTC 2008


If you have the AT Profiler loaded, you'll also have the 
MultiTimeProfiler and MultiAllocProfiler, which will profile across all 
the green threads. This, I've found, to be very useful with Seaside 
profiling, because you want to see what the impact is with multiple 
users hitting your program simultaneously.

Cheers,
Michael

Bany, Michel wrote:
> Hi Rick,
>
> On (1), Seaside profiling only works for the rendering phase and you
> need a fair amount of rendering activity (or a slow CPU). If you cannot
> get any sample, this means that there is not much to optimize in your
> rendering code.
>
> On the other hand, you may also want to try increase the number of
> samples and customize WAProfiler>>profileSendsDuring: to use a sampling
> interval that would be shorter than the default value (16 I believe)
>
> 	((TimeProfiler new) samplingInterval: 1; yourself) 
> 		profile: aBlock
> 		onExitDo: 
> 			[:spy | 
> 			profile := spy.
> 			sem signal].
>
> If you need to profile the callback phase of your application, then the
> SeasideProfiler package will not help. You will have to manually
> instrument you callback methods.
>
> Hope this helps,
> Michel.
>
>
>   
>> -----Original Message-----
>> From: seaside-bounces at lists.squeakfoundation.org 
>> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf 
>> Of Rick Flower
>> Sent: jeudi, 27. novembre 2008 05:39
>> To: seaside at lists.squeakfoundation.org
>> Subject: Re: [Seaside] Profiling...
>>
>>
>> Ok -- just an update. I loaded SeasideProfiler and also the 
>> below mentioned NetClients and have two questions :
>>
>> 1) For SeasideProfiler -- I get a "Profiler" link now in 
>> Seaside and when pressed I get "no samples" in the very 
>> bottom of the window.. For the life of me I can't get 
>> anything other than "no samples".. Any ideas?
>>
>> 2) For the Http Proxy settings, how do I set the proxy 
>> config?  I didn't notice any changes in the preferences panel 
>> or anywhere else..
>>
>> Thx!
>>
>> -- Rick
>>
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>     
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>   



More information about the seaside mailing list