Skip to content

Commit e7f5715

Browse files
committed
Updates
1 parent 5fc2d59 commit e7f5715

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

aspnetcore/blazor/performance/profiling.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Invoke `TakeHeapshot` to create a memory heap shot and flush the contents of the
136136
[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).
137137

138138
* 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.
140140
* [`dotnet-trace`](/dotnet/core/diagnostics/dotnet-trace): Open the `.nettrace` output file in Visual Studio and find the expected method calls.
141141
* Web-based testing
142142
* 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:
147147

148148
* [Ahead-of-time (AOT) compilation](xref:blazor/tooling/webassembly#ahead-of-time-aot-compilation)
149149
* Code interpolation
150-
* JIT (Just-In-Time) interpolation
150+
* [JIT (Just-In-Time) interpolation](https://developer.mozilla.org/docs/Glossary/Just_In_Time_Compilation)
151151

152152
## GC (Garbage Collector) dumps
153153

154154
* Manual testing
155-
* 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.
156156
* [`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).
157157
* Web-based testing
158158
* 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:
162162
## Counters trace
163163

164164
* 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.
167167
* Web-based testing
168168
* Use the JavaScript API to obtain a [promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise) of NetTrace (`.nettrace`) bytes.
169169
* 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.
171171

172172
## .NET Core Diagnostics Client Library example
173173

@@ -211,8 +211,8 @@ The [`Timing-Allow-Origin` HTTP header](https://developer.mozilla.org/docs/Web/H
211211
Browser developer tools console calls in the following example that trigger profiling:
212212

213213
* `collectGcDump`: Collect a GC (Garbage Collector) dump.
214-
* `collectPerfCounters(durationSeconds)`: Collect performance counters.
215-
* `collectCpuSamples(durationSeconds)`: Collect performance counters.
214+
* `collectPerfCounters(durationSeconds)`: Collect general performance counters.
215+
* `collectCpuSamples(durationSeconds)`: Collect CPU performance counters.
216216

217217
```javascript
218218
globalThis.getDotnetRuntime(0).collectGcDump();

0 commit comments

Comments
 (0)