Skip to content

Commit e0fb3ca

Browse files
committed
edits
1 parent bef374c commit e0fb3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 using an expression tree will show the
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.
3333

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

@@ -53,5 +53,5 @@ Here are the most common reasons:
5353
var count = query.Count();
5454
```
5555

56-
In this example, `ToList` forces the enumeration before `Count`, so the `Count` call is optimized and runs very fast. Instead, the `Where` statement takes most of the time.
56+
In this example, `ToList` forces the enumeration before `Count`, so the `Count` call is optimized and runs very fast. Instead, the `Where` statement takes the most time.
5757

0 commit comments

Comments
 (0)