Skip to content

Commit 4b9ed4a

Browse files
CopilotT-Gro
andcommitted
Add .gitignore and improve documentation with profiling notes
Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>
1 parent f1f5d63 commit 4b9ed4a

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

tools/perf-repro/.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated test projects
2+
generated/
3+
4+
# Profiling results
5+
results/
6+
7+
# Trace files
8+
*.nettrace
9+
*.speedscope.json
10+
11+
# Build artifacts from generated projects
12+
**/bin/
13+
**/obj/
14+
15+
# Temporary files
16+
*.log
17+
build.log

tools/perf-repro/PERF_REPORT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# F# Compiler Performance Analysis - xUnit Assert.Equal Issue #18807
22

3+
*This is a sample/template report showing the expected output format*
4+
35
*Generated: 2025-11-11 13:21:15*
46

57
## Test Configuration

tools/perf-repro/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ dotnet fsi AnalyzeTrace.fsx --results ./results
133133
dotnet tool install -g dotnet-trace
134134
```
135135

136-
**Note:** The suite will work without `dotnet-trace` by falling back to timing-only mode.
136+
**Note:** The suite will work without `dotnet-trace` by falling back to timing-only mode. When trace collection is enabled, expect significant slowdown (3-10x) during profiling - this is normal and necessary to capture detailed execution data.
137137

138138
## Understanding the Results
139139

@@ -199,6 +199,8 @@ The suite will work in timing-only mode. For detailed trace analysis, install:
199199
dotnet tool install -g dotnet-trace
200200
```
201201

202+
**Note**: Trace collection adds significant overhead (3-10x slowdown) to build times. This is normal and expected when profiling.
203+
202204
### Permission Errors on Linux/macOS
203205

204206
Make scripts executable:

0 commit comments

Comments
 (0)