Skip to content

Commit c1ee67d

Browse files
committed
add benchmark table
1 parent 8a53428 commit c1ee67d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@ That's it!
4343
- uses: fast-actions/setup-dotnet@v1
4444
```
4545

46+
## Performance
47+
48+
**Benchmark Results** (Ubuntu runner):
49+
50+
| Scenario | Official Action | fast-actions (first run) | fast-actions (cached) |
51+
|----------|-----------------|--------------------------|----------------------|
52+
| Multiple SDKs (10.x, 9.x, 8.x) | ~24s | ~22s | ~8s |
53+
| Single SDK + runtimes (SDK 10.x, ASP.NET Core 9.x + 8.x) | (Not possible) | ~14s | ~4s |
54+
55+
In typical workflows, you install a single SDK and multiple runtimes for compatibility testing. The "Single SDK + runtimes" scenario is more representative of real-world usage.
56+
57+
**Note**: Actual performance depends on various factors including runner specifications, network conditions, and the number/size of versions being installed.
58+
4659
## Documentation
4760

4861
For detailed documentation, advanced features, and more examples, see [guide.md](https://github.com/fast-actions/setup-dotnet/blob/main/docs/guide.md).

0 commit comments

Comments
 (0)