Skip to content

Commit 19a144a

Browse files
committed
acrolinx edits
1 parent e0fb3ca commit 19a144a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/profiling/understanding-call-tree-data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Understanding the call tree
3-
description: Learn how to interpet call tree data in the CPU Usage and Instrumentation.
3+
description: Learn how to interpret call tree data in the CPU Usage and Instrumentation.
44
ms.date: 02/19/2025
55
ms.topic: how-to
66
author: mikejo5000
@@ -29,7 +29,7 @@ Here are the most common reasons:
2929

3030
- Compiler generated code. Some operations generate code that isn’t intuitive. For example, async/await patterns generate state machines. Other examples include getters/setters, pattern matching, event handlers, query syntax for LINQ, source generators (for example, creation of source generators for json serialization), and other code features. In these scenarios, some generated code may appear in the call tree.
3131

32-
- Dynamically generated code. Unlike compiler-generated code, dynamically-generated code is compiled on the fly. This is not as common as compiler-generated code. The following code uses an expression tree and results in dynamically-generated code.
32+
- Dynamically generated code. Unlike compiler-generated code, dynamically generated code is compiled on the fly. This isn't as common as compiler-generated code. The following code uses an expression tree and results in dynamically generated code.
3333

3434
![Screenshot that shows expression tree code.](media/vs-2022/call-tree-dynamic-code-expression-tree-example.png)
3535

@@ -45,7 +45,7 @@ Here are the most common reasons:
4545
var count = query.Count();
4646
```
4747

48-
You may expect the call tree to show a lot of time spent in the `Where` statement, but the enumeration actually happens in `Count`, so `Count` may show up as a slower function in the call tree. The following example is the opposite:
48+
You may expect the call tree to show too much time spent in the `Where` statement, but the enumeration actually happens in `Count`, so `Count` may show up as a slower function in the call tree. The following example is the opposite:
4949

5050
```csharp
5151
// LINQ query to get all items less than 1,000,000

0 commit comments

Comments
 (0)