Application Profiling - UnsafeNativeMethods.WaitMessage()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Curtis

    #1

    Application Profiling - UnsafeNativeMethods.WaitMessage()

    I am profiling my application VB.Net with the ANTS profiler from RedGate
    Software because I have some significant performance issues. My application
    is scrapping a webpage for content and then writing that information to a
    database. When I run the profiler it tells me that the slowest method is
    found in the namespace System.Windows. Forms and the method name is
    UnSafeNativeMet hods.WaitMessag e(). Does anyone know why my application would
    be spending a great deal of time on this windows method. Note: I am doing
    the processing in a separate thread because of refresh problems with the
    GUI.

    Thanks,
    Curtis


Working...