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
* Call specification (":::no-loc text="callspec":::", sequence and timing of function calls) and instrumentation
39
39
40
-
Enable integration with the browser's developer tools profiler using the `<WasmProfilers>` property in the app's project file (`.csproj`). Include the following additional properties:
40
+
Enable integration with the browser's developer tools profiler using the `<WasmProfilers>` property in the app's project file (`.csproj`). Include the additional properties in the following table.
41
41
42
-
*`<WasmProfilers>`: The "`browser`" profiler enables integration with the profiler in the browser's developer tools.
43
-
*`<RunAOTCompilation>`: Run AOT compilation. Default: `false`
44
-
*`<RunAOTCompilationAfterBuild>`: Run AOT compilation after build. By default, it is run only for publish. Default: `false`
45
-
*`<WasmNativeStrip>`: Set to `false` to prevent stripping the native executable. Default: `true`
46
-
*`<WasmNativeDebugSymbols>`: Build with native debug symbols. Default: `true`
47
-
*`<WasmBuildNative>`: Build the native executable. Default: `false`
42
+
Property | Default | Set value to… | Description
43
+
--- | :---: | :---: | ---
44
+
`<WasmProfilers>` | No value | `browser` | Mono profilers to use. Potential values are "`browser`" and "`log`". To use both, separate the values with a semicolon. The `browser` profiler enables integration with the browser's developer tools profiler.
`<WasmNativeDebugSymbols>` | `true` | `true` | Controls building with native debug symbols.
49
+
`<WasmBuildNative>` | `false` | `true` | Controls building the native executable.
48
50
49
51
```xml
50
52
<PropertyGroup>
@@ -109,7 +111,7 @@ Enable integration with the log profiler using the `<WasmProfilers>` and `<WasmB
109
111
110
112
```xml
111
113
<PropertyGroup>
112
-
<WasmProfilers>log;</WasmProfilers>
114
+
<WasmProfilers>log</WasmProfilers>
113
115
<WasmBuildNative>true</WasmBuildNative>
114
116
</PropertyGroup>
115
117
```
@@ -184,17 +186,19 @@ The following example:
184
186
* Collects performance counters for 60 seconds.
185
187
* Collects CPU counters for 60 seconds.
186
188
187
-
In the project file (`.csproj`), the following properties enable integration with the browser's profiler:
189
+
In the project file (`.csproj`), the properties in the following table enable integration with the browser's profiler.
188
190
189
-
*`<WasmProfilers>`: The "`browser`" profiler enables integration with the profiler in the browser's developer tools.
190
-
*`<WasmPerfTracing>`: Enables diagnostic server.
191
-
*`<WasmPerfInstrumentation>`: Enables performance instrumentation for the sampling CPU profiler.
192
-
*`<MetricsSupport>`: Enables metrics. For more information, see the [`System.Diagnostics.Metrics` namespace](/dotnet/api/system.diagnostics.metrics).
193
-
*`<EventSourceSupport>`: Enables system events. For more information, see [Diagnostics and instrumentation: Observability and telemetry](/dotnet/core/deploying/native-aot/diagnostics#observability-and-telemetry).
191
+
Property | Default | Set value to… | Description
192
+
--- | :---: | :---: | ---
193
+
`<WasmProfilers>` | No value | `browser` | Mono profilers to use. Potential values are "`browser`" and "`log`". To use both, separate the values with a semicolon. The `browser` profiler enables integration with the browser's developer tools profiler.
194
+
`<WasmPerfTracing>` | `false` | `true` | Controls diagnostic server tracing.
195
+
`<WasmPerfInstrumentation>` | `false` | `true` | Controls CPU sampling instrumentation for diagnostic server.
196
+
`<MetricsSupport>` | `false` | `true` | Controls `System.Diagnostics.Metrics` support. For more information, see the [`System.Diagnostics.Metrics` namespace](/dotnet/api/system.diagnostics.metrics).
197
+
`<EventSourceSupport>` | `false`| `true` | Controls `EventPipe` support. For more information, see [Diagnostics and instrumentation: Observability and telemetry](/dotnet/core/deploying/native-aot/diagnostics#observability-and-telemetry).
0 commit comments