Questions tagged [perfview]

PerfView performance tool for .NET developers by Microsoft

perfview
Filter by
Sorted by
Tagged with
0 votes
1 answer
374 views

Simplest way to write a log message and display in Perfview

I need the to write a log message and capture that in PerfView. I would like to avoid using EventLog or EventSource because they are quite invasive: they require registering a new source or ETW ...
fernacolo's user avatar
  • 7,252
12 votes
1 answer
3k views

what does AWAIT_TIME exactly mean in the Azure profiler?

I am looking at my performance profile of one of my slowest requests, and I see an AWAIT_TIME of more than 6 seconds, but I am not able to get any more information regarding it. How do I figure out ...
Riz's user avatar
  • 6,556
5 votes
1 answer
4k views

Understanding BLOCKED_TIME in PerfView

We are suspecting that we're experciencing thread pool starvation on a server that is running a couple of ASP.NET Core APIs and a couple of .NET Core consoles. I ran perfview one one of our servers ...
Joel's user avatar
  • 8,726
4 votes
1 answer
3k views

PerfView: Analyzing Performance of App including Database Calls

I'm currently getting into PerfView for performance analysis for my (C#) apps. But typically those apps use a lot of database calls. So I asked myself questions like: - How much time is spent in ...
cmart's user avatar
  • 1,001
4 votes
1 answer
1k views

Performance impact due to StackTrace constructor and getting method name

I have this piece of code in our logging library var stackTrace = new StackTrace(); string operationName = stackTrace.GetFrame(1).GetMethod().Name; And as per my performance analysis using the ...
StackOverflowVeryHelpful's user avatar
3 votes
1 answer
1k views

How can I see me expensive methods in PerfView

I have created a simple console app and execute it from PerfView via Run Command -> PerfMonTest.exe I get the log file and see the process of the app. It is expensive as expected (99% CPU ), but when ...
Mathias F's user avatar
  • 15.7k
0 votes
0 answers
137 views

Perfview command trigger being executed incorrectly on threshold

I am trying to get Perfview to execute when the W3WP service goes over 90% CPU. However it says 118.5? I am not sure where the number comes from but my CPU hasnt been above 20%.
Mike Flynn's user avatar
  • 23.4k