Out of the top of my head, doing it like that only profiles widget creation/install if I'm not mistaken. But not render time.

Because the doit is executed inside the event processing of the morphic render loop. But a cool ui profiling should also measure the drawOn: methods.

I don't know if there is a tool to do that right know but it would be possible...

Le��22 nov. 2015 20:23, "Dimitris Chloupis" <kilon.alios@gmail.com> a ��crit��:
yeah probably , your code returns nothing too. So what we suppose to use to profile fast code ?

On Sun, Nov 22, 2015 at 9:12 PM Nicolai Hess <nicolaihess@gmail.com> wrote:
2015-11-22 20:01 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
Why

[CheckboxMorph new] timeProfile

returns nothing ?

too fast?
[ 3+3 ] timeProfile
return nothing too.

try
[CheckboxMorph new openInWorld] timeProfile.
��

I also tried it in the profile tool without the block and still displays nothing . Is there any special requirement for profiling code ?