Skip to content

Commit d2a2541

Browse files
committed
rules to insights edits
1 parent f759913 commit d2a2541

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/profiling/perf-rules-string-concatenation.md renamed to docs/profiling/perf-insights-string-concatenation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Performance tips for string concatenations
2+
title: Performance insights for string concatenations
33
description: Learn how to improve performance for string concatenations.
44
ms.date: 7/20/2022
55
ms.topic: reference
@@ -17,7 +17,7 @@ ms.workload:
1717

1818
Calls to System.String.Concat are a significant proportion of the profiling data. Consider using the <xref:System.Text.StringBuilder> class to construct strings from multiple segments.
1919

20-
## Rule description
20+
## Insight description
2121

2222
A <xref:System.String> object is immutable. Therefore, any modification to the string creates a new string object and the garbage collection of the original. This behavior is the same whether you call String.Concat explicitly or use the string concatenation operators such as + or +=. Program performance can decrease if these methods are frequently called, such as when characters are added to a string in a tight loop.
2323

docs/profiling/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
items:
3737
- name: CPU usage
3838
href: cpu-usage.md
39-
- name: Performance rules
39+
- name: Performance insights
4040
items:
4141
- name: String concatenation
42-
href: perf-rules-string-concatenation.md
42+
href: perf-insights-string-concatenation.md
4343
- name: File IO
4444
href: use-file-io.md
4545
- name: Memory usage

0 commit comments

Comments
 (0)