You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/performance/profiling.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ Invoke `TakeHeapshot` to create a memory heap shot and flush the contents of the
136
136
[EventPipe](/dotnet/core/diagnostics/eventpipe) is a runtime component used to collect tracing data, similar to [ETW](/windows/win32/etw/event-tracing-portal) and [perf_events](https://wikipedia.org/wiki/Perf_%28Linux%29).
137
137
138
138
* Manual testing
139
-
* Browser developer tools: Download the `.json` output file, open the file in Visual Studio, and find expected calls.
139
+
* Browser developer tools: Download the `.json` output file, open the file in Visual Studio, and find the expected method calls.
140
140
*[`dotnet-trace`](/dotnet/core/diagnostics/dotnet-trace): Open the `.nettrace` output file in Visual Studio and find the expected method calls.
141
141
* Web-based testing
142
142
* Use the JavaScript API to obtain a [promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise) of NetTrace (`.nettrace`) bytes.
@@ -147,12 +147,12 @@ Built-in performance counters are available to track:
* Browser developer tools: Download the `.json` output file, open the file in Visual Studio, and find expected calls.
155
+
* Browser developer tools: Download the `.json` output file, open the file in Visual Studio, and find the expected classes.
156
156
*[`dotnet-gcdump` (`collect`/convert` options)](/dotnet/core/diagnostics/dotnet-gcdump): To view the captured GC dump files, see [View the GC dump captured from dotnet-gcdump](/dotnet/core/diagnostics/dotnet-gcdump#view-the-gc-dump-captured-from-dotnet-gcdump).
157
157
* Web-based testing
158
158
* Use the JavaScript API to obtain a [promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise) of NetTrace (`.nettrace`) bytes.
@@ -162,12 +162,12 @@ Built-in performance counters are available to track:
162
162
## Counters trace
163
163
164
164
* Manual testing
165
-
* Browser developer tools: Download the `.json` output file, open the file in Visual Studio, and find expected calls.
166
-
*[`dotnet-counters collect`](/dotnet/core/diagnostics/dotnet-counters): Open the `.csv`/`.json` output file in Visual Studio and find the expected counters/values.
165
+
* Browser developer tools: Download the `.json` output file, open the file in Visual Studio, and find the expected counters.
166
+
*[`dotnet-counters collect`](/dotnet/core/diagnostics/dotnet-counters): Open the `.csv`/`.json` output file in Visual Studio and find the expected counters.
167
167
* Web-based testing
168
168
* Use the JavaScript API to obtain a [promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise) of NetTrace (`.nettrace`) bytes.
169
169
* Upload the file via HTTP.
170
-
* Parse and validate that the trace contains the expected counters/values.
170
+
* Parse and validate that the trace contains the expected counters.
171
171
172
172
## .NET Core Diagnostics Client Library example
173
173
@@ -211,8 +211,8 @@ The [`Timing-Allow-Origin` HTTP header](https://developer.mozilla.org/docs/Web/H
211
211
Browser developer tools console calls in the following example that trigger profiling:
212
212
213
213
*`collectGcDump`: Collect a GC (Garbage Collector) dump.
0 commit comments