Questions tagged [perfview]

PerfView performance tool for .NET developers by Microsoft

PerfView enables you to identify the performance hotspots in your app and enables you to quickly determine the code that needs to be updated to mitigate the hotspots. You can use PerfView to investigate .NET Framework (all versions), C++, or JavaScript apps. It also supports investigating performance issues in Windows Store apps.

MSDN blog post: Improving Your App's Performance with PerfView

69 questions
0
votes
1 answer

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 provider, which leaves leftovers in the system. Ideally…
fernacolo
  • 7,012
  • 5
  • 40
  • 61
0
votes
1 answer

.net core high cpu utilization , Perfview can not get ntdll!?

currently our .net core app is using 100% cpu utilization with really small troughput, after using perfview it just show ntdll!?, also all my threads contian the same class that cannot be resolved ( even after symbol lookup). Have someone else…
MBG
  • 100
  • 2
  • 10
0
votes
1 answer

How is threads view useful in performance/cpu profilers?

After I profile an ASP.NET Core application, JetBrain's dotTrace tool by default opens up the All Calls tab and shows a list of threads. Could you please clarify some of my questions? During my profiling session, I sent around 100K requests to the…
aspnetuser
  • 121
  • 7
0
votes
0 answers

Slow Garbage Collection in C#

I am using Perfview do analyse the performance of the Garbage collector. I use the CLR Startup Flags: CONCURRENT_GC, SERVER_GC for my console app. The slowness is sometimes in Gen 0, Gen 1 or Gen 2. What would you suggest me to analyse this further?…
weismat
  • 7,195
  • 3
  • 43
  • 58
0
votes
2 answers

PerfView - Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)

When I try to create an ETL file using PerfView v1.9.0.0 (Collect -> Collect -> Start Collection, with default parameters) the operation fails stating "An exceptional condition occurred, see log for details." Below is what I see in the log: Started…
zsoumya
  • 133
  • 2
  • 10
0
votes
1 answer

Difference in PerfView's GCStats and CollectionCount() results

I'm learning PerfView and tried GCStats report. I've created a simple app which does a lot memory allocation on the heap: using System; using System.Collections.Generic; class Program { static void Main(string[] args) { …
davidoff
  • 2,175
  • 3
  • 16
  • 23
0
votes
0 answers

Perfview - highest samples at Process row in CPU stacks

I'm measuring our custom tool that parses log files. The CPU stack looks like this: The Process32 LogScanner has 231505 exclusive samples. What that might mean? I usually see ntdll!_RtlUserThreadStart frame when measuing other applications and…
stej
  • 28,745
  • 11
  • 71
  • 104
0
votes
1 answer

Find memory leak with perfview

I have a C# (.net 4.5) service in production which is compiled in debug. In one day it has leaked 900mb of memory. Actually uses 10gb of memory. So I tried to make a diff with perfview, but I can't find my 900mb leaking. What I can see is the…
chris
  • 41
  • 5
0
votes
0 answers

Running PerfView in production environment

I want to run PerfView -> Collect with default CPU Sample Interval on the production server for some time. Also, I want to take Take Heap Snapshot to check memory leak. Is it a good decision or not? How can it impact server resources and…
tytyryty
  • 741
  • 7
  • 17
1 2 3 4
5