Re: profiling capi application
On Thursday 21 May 2009 7:00:33 am Frank Schorr wrote:
>
> My capi application is getting slower and slower.
> I tried to profile, without success.
> If I enter a (contain (make-instance 'my-app)) form in the Code to Profile window,
> this form returns immediately, before I can use the application.
> If I add a sleep command, it doesn't help either. Wrong thread, I guess.
> So how do you profile your capi applications ?
> Thank you for your help !
Yes, capi interfaces run in different processes. I haven't profiled a capi app, but I think that you should be able to wrap your code in a profile macro (see lw user guide and ref) manually and get the results. You might also need to worry about where the output goes - check mp:*background-standard-output*.
pt