Skip to content

Commit 1654be4

Browse files
committed
feature(documentation): performances settings
1 parent e780ee5 commit 1654be4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

documentation/simplew/docs/guide/performances.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ The bombardier command is run three times, and the best result is kept.
5151

5252
## Performance-Oriented Configuration
5353

54+
The most important performance setting is `ServerGarbageCollection` in your `.csproj`.
55+
It is the setting that usually has the biggest impact and can improve performance by up to x2:
56+
57+
```xml
58+
<PropertyGroup>
59+
<ServerGarbageCollection>true</ServerGarbageCollection>
60+
</PropertyGroup>
61+
```
62+
5463
To get the best performance, enable the following options :
5564

5665
```csharp

0 commit comments

Comments
 (0)