[Seaside] Profiling Code

Stefan Schmiedl s at xss.de
Fri Feb 1 22:54:11 UTC 2008

On Fri, 1 Feb 2008 15:41:41 -0700
"Ramon Leon" <ramon.leon at allresnet.com> wrote:

> I'm having a hard time believing that 87% of my render time is spent in a
> method that looks like this...
> WAOptionTag>>selected: aBoolean
> 	self attributes at: 'selected' put: aBoolean
> Any ideas?

How often is it called? 

If in doubt, go for printf debugging:

WAOptionTag>>selected: aBoolean
	Timestamp now out
	self attributes at: 'selected' put: aBoolean
	Timestamp now out

where out displays its receiver on the Transcript.

Just to get things started :-)


More information about the seaside mailing list