Skip to content

Commit fd0d92d

Browse files
e-kharionKuba Drazka
and
Kuba Drazka
authored
[S] Documentation signpost added (#4501)
* * added new documentation readme page which contains categorized links to all dother documentation pages in this repository with brief description * documentaiton section in repo readme file updated with a link to documentation readme * lint compilation errors fixed * more links to documentation pages added to the signpost --------- Co-authored-by: Kuba Drazka <kubadrazka@microsoft.com>
1 parent b5f1f9e commit fd0d92d

File tree

6 files changed

+50
-8
lines changed

6 files changed

+50
-8
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ Finding these benchmarks in a separate repository might be surprising. Performan
1212

1313
## Documentation
1414

15-
* [Microbenchmarks Guide](./src/benchmarks/micro/README.md) for information on running our microbenchmarks
16-
* [Scenario Tests Guide](./docs/scenarios-workflow.md) for information on running our real-world scenario benchmarks
17-
* [Benchmarking workflow for dotnet/runtime repository](./docs/benchmarking-workflow-dotnet-runtime.md) for information on benchmarking local [dotnet/runtime](https://github.com/dotnet/runtime) builds
18-
* [Profiling workflow for dotnet/runtime repository](./docs/profiling-workflow-dotnet-runtime.md) for information on profiling local [dotnet/runtime](https://github.com/dotnet/runtime) builds
15+
See the [documentation signpost](./docs/readme.md).
1916

2017
## Contributing to Repository
2118

docs/README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# .NET Performance Repository Documentation Readme
2+
3+
The documentation in this repo is organized into the following sections:
4+
5+
## Getting Started
6+
7+
- [Prerequisites](prerequisites.md) - Information on what you need to get started.
8+
- [Perf report walkthrough](perfreport-walkthrough.md) - This document describes Performance Report Advanced Features.
9+
- [Crank to Helix workflow](crank-to-helix-workflow.md) - Information on how to schedule performance tests to be run on Helix machines using Crank (instead of running locally).
10+
- [Profiling workflow dotnet runtime](profiling-workflow-dotnet-runtime.md) - This doc explains how to profile local [dotnet/runtime](https://github.com/dotnet/runtime) builds and it's targetted at [dotnet/runtime](https://github.com/dotnet/runtime) repository contributors.
11+
- [Pipeline templates](../eng/common/template-guidance.md) - Information on azure yml pipelines.
12+
13+
## Running Benchmarks
14+
15+
- [BenchmarkDotNet](benchmarkdotnet.md) - Information of how to run benchmarks using BenchmarkDotNet tool and interpret results.
16+
- [Benchmarking workflow](benchmarking-workflow-dotnet-runtime.md) - Information about the (micro)benchmarks for the [dotnet/runtime](https://github.com/dotnet/runtime) in this repository.
17+
- [Microbenchmarks Guide](../src/benchmarks/micro/README.md) for information on running our microbenchmarks.
18+
- [Micro Benchmarks of .NET Runtime(s)](../src/benchmarks/micro/README.md) - Information on benchmarks of .NET Runtime(s).
19+
- [Microbenchmarks design guidelines](microbenchmark-design-guidelines.md) - Detailed guidelines on how to design and write microbenchmarks.
20+
- [benchmarks_local.py script guide](../src/scripts/BENCHMARKS_LOCAL_README.md) - Description of a script for testing the performance of the different dotnet/runtime build types locally.
21+
- [ResultsComparer tool](../src/tools/ResultsComparer/README.md) - Information on tool which allows for easy comparison of provided benchmark results.
22+
- [Serializers Benchmarks](../src/benchmarks/micro/Serializers/README.md) - Information on benchmarks of the most popular serializers.
23+
- [bepuphysics2 Benchmarks](../src/benchmarks/real-world/bepuphysics2/README.md) - Information on benchmarks of bepuphysics2 library.
24+
- [Microsoft.ML Benchmarks datasets](../src/benchmarks/real-world/Microsoft.ML.Benchmarks/Input/README.md) - Information on datasets used for benchmarking of the Microsoft.ML library.
25+
- [Benchmarks run in PowerShell](../src/benchmarks/real-world/PowerShell.Benchmarks/README.md) - Information on performance tests for different pieces of the library run using PowerShell.
26+
27+
### GC Benchmarks
28+
29+
- [ASP.NET Benchmarks errors](../src/benchmarks/gc/GC.Infrastructure/docs/ASPNETBenchmarks.md) - Information on main types of errors while running ASP.NET Benchmarks using crank.
30+
- [Testing GC.Infrastructure](../src/benchmarks/gc/GC.Infrastructure/README.md) - Information on testing GC.Infrastructure.
31+
- [GC.Analysis.API](../src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/README.md) - Information on conducting GC, CPU and Threading analysis using .NET Interactive notebooks.
32+
- [GC.Infrastructure Notebooks](../src/benchmarks/gc/GC.Infrastructure/Notebooks/README.md) - Information on notebooks that either provide examples or functionality for specialized analysis
33+
- [Benchmark Analysis](../src/benchmarks/gc/GC.Infrastructure/Notebooks/BenchmarkAnalysis.md) - Information on a notebook which contains code for producing charts (and soon, tables) for GC benchmarks. It can currently process data
34+
from the ASP.NET benchmarks obtained using crank as well as ETL data.
35+
36+
## Running Scenarios
37+
38+
- [Scenarios workflow](scenarios-workflow.md) - An introduction of how to run scenario tests.
39+
- [Basic scenarios](basic-scenarios.md) - Specific instruction of how to run various basic scenarios.
40+
- [Blazor scenarios](blazor-scenarios) - Specific instruction of how to run _New Blazorwasm Template Size On Disk_ scenarios.
41+
- [Cross-gen scenarios](crossgen-scenarios.md) - Specific instruction of how to run _crossgen_ scenarios.
42+
- [SDK scenarios](sdk-scenarios.md) - Specific instruction of how to run _SDK Build Throughput Scenario_ scenarios.

docs/blazor-scenarios.md

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Same instruction of [Step 4 in Scenario Tests Guide](scenarios-workflow.md#step-
8282
## Command Matrix
8383

8484
For the purpose of quick reference, the commands can be summarized into the following matrix:
85+
8586
| Scenario | Asset Directory | Precommand | Testcommand | Postcommand | Supported Framework | Supported Platform |
8687
|-------------------------------------|-----------------|-------------------------------------------------------------|-------------------------------------------------------------------|-------------|---------------------|--------------------|
8788
| SOD - New Blazor Template - Publish | blazor | pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true" | test.py sod --scenario-name "SOD - New Blazor Template - Publish" | post.py | net7.0; net8.0 | Windows;Linux |

docs/crossgen-scenarios.md

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ python3 post.py
188188
## Command Matrix
189189

190190
For the purpose of quick reference, the commands can be summarized into the following matrix:
191+
191192
| Scenario | Asset Directory | Precommand | Testcommand | Postcommand | Supported Framework | Supported Platform |
192193
|----------------------------------------|-----------------|--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|-------------|---------------------|-------------------------|
193194
| Crossgen Throughput | crossgen | N/A | test.py crossgen --core-root \<path to Core_Root> --single \<assembly name> | post.py | N/A | Windows-x64;Windows-x86 |

eng/common/template-guidance.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Overview
22

3-
Arcade provides templates for public (`/templates`) and 1ES pipeline templates (`/templates-official`) scenarios. Pipelines which are required to be managed by 1ES pipeline templates should reference `/templates-offical`, all other pipelines may reference `/templates`.
3+
Arcade provides templates for public (`/templates`) and 1ES pipeline templates (`/templates-official`) scenarios. Pipelines which are required to be managed by 1ES pipeline templates should reference `/templates-offical`, all other pipelines may reference `/templates`.
44

55
## How to use
66

@@ -12,7 +12,7 @@ Basic guidance is:
1212

1313
See [azure-pipelines.yml](../../azure-pipelines.yml) (templates-official example) or [azure-pipelines-pr.yml](../../azure-pipelines-pr.yml) (templates example) for examples.
1414

15-
#### The `templateIs1ESManaged` parameter
15+
### The `templateIs1ESManaged` parameter
1616

1717
The `templateIs1ESManaged` is available on most templates and affects which of the variants is used for nested templates. See [Development Notes](#development-notes) below for more information on the `templateIs1ESManaged1 parameter.
1818

@@ -23,6 +23,7 @@ The `templateIs1ESManaged` is available on most templates and affects which of t
2323
1ES pipeline templates impose a policy where every publish artifact execution results in additional security scans being injected into your pipeline. When using `templates-official/jobs/jobs.yml`, Arcade reduces the number of additional security injections by gathering all publishing outputs into the [Build.ArtifactStagingDirectory](https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#build-variables-devops-services), and utilizing the [outputParentDirectory](https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/outputs#multiple-outputs) feature of 1ES pipeline templates. When implementing your pipeline, if you ensure publish artifacts are located in the `$(Build.ArtifactStagingDirectory)`, and utilize the 1ES provided template context, then you can reduce the number of security scans for your pipeline.
2424

2525
Example:
26+
2627
``` yaml
2728
# azure-pipelines.yml
2829
extends:
@@ -59,7 +60,7 @@ Note: Multiple outputs are ONLY applicable to 1ES PT publishing (only usable whe
5960

6061
## Development notes
6162

62-
**Folder / file structure**
63+
### Folder / file structure
6364

6465
``` text
6566
eng\common\

src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This repository contains all the code responsible for conducting GC, CPU and Thr
77
1. Install all dependencies by:
88
1. [Installing VSCode](https://code.visualstudio.com/Download) - install vscode using the installer; downloading a zip file of the exe will result in issues with the ``Install.cmd`` script.
99
2. [Installing the .NET6 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
10-
3. Ensure you have Jupyter:
10+
3. Ensure you have Jupyter (one of the following options):
1111
1. Install python using the Windows Store.
1212
2. Manually install Jupyter:
1313
1. ``pip`` is in your PATH:

0 commit comments

Comments
 (0)