[Seaside] Re: [squeak-dev] Re: How to profile a server image?

John M McIntosh johnmci at smalltalkconsulting.com
Sat Feb 28 23:34:28 UTC 2009

On 28-Feb-09, at 10:45 AM, Andreas Raab wrote:

> ---------------------
> Unfortunately, recent VMs have a problem with spy accuracy since an  
> important timer check was removed from the VM (I didn't notice that  
> at the time it happened). This *heavily* affects the profiler, for  
> example, try this:
> 	MessageTally spyOn:[
> 		1 to: 100 do:[:i|
> 			Display fillWhite.
> 			'Hello', ' World'.
> 		].
> 	].

Ah you mean perhaps the removal of the checkForInterrupts() which  
*could/might* occur after the call in


I'm just guessing of course, mind adding in a clock check on every  
primitive call will result in a small amount of overhead.

John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com

More information about the seaside mailing list