Performance testing tools for VB.NET application

S

sonu

Hi all,

I am confused about how to check my application against the performance
issues.
In my application as far as possible whenever I could make out I am
using dispose to release
the handles by the application. But it seems that still even then the
handle count is not
equal to the count which I had when I have opened the form. I am not
able to figure out what's
the exact issue is with my application.

Could somebody tell me the ideal coding practices which I should use
when developing the
application so that I have a managed control over the window handles in
my application.

I am really worried about the increasing handles in my application.

One more issue is with use of win32 api calls. As far as I know use of
win32 api's introduces
unamaged coding practices in .NET application. But is it that it should
not be used.

Actually I am not able to find out equivalent .NET functions which I
can use in this scenarios
which could help me out to build a proper application.

Any reply will be a greate help

Thanks in advance
 
T

Tim Anderson

In my application as far as possible whenever I could make out I am
using dispose to release the handles by the application. But it seems
that still even then the handle count is not equal to the count which I
had
when I have opened the form. I am not able to figure out what's
the exact issue is with my application.

Are you using a profiler? You should be able to detect any .NET objects that
hanging around in memory.

In .NET 1.x there were Framework bugs that made it hard to avoid leaks, but
I don't know if this is still the case in .NET 2.0.

Tim
How stable is Visual Studio 2005?
http://www.itwriting.com/blog/?postid=414
 
C

Cor Ligthert [MVP]

Sonu,

We are at the border for WinFX instead of Win32. Managed code should handle
both and makes it possible to Microsoft to set this step..

Just my thought,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top