Tuesday, December 1, 2009

Profiling remoting calls

For our app i needed to measure the duration of backend calls. Luckily our delegates were all subclassing the same AbstractRemoteDelegate. So it was quite easy to add something in. What i did is to create a Responder which measures the duration of the calls and writes them to a Log. Inside the AbstractRemoteDelegate i add this responder to every call. This gives me the data. A DataGrid inside a TitleWindow is used to display the data.

In general instrumenting a application for debugging/profiling is a interesting topic. What are you using?

No comments:

Post a Comment