Skip to content

Commit 37f0c61

Browse files
committed
chore: update benchmarks-scheduled.yml output file path and refine Program.cs formatting
- Changed the output file path in benchmarks-scheduled.yml to include '-full-compressed' for better clarity. - Adjusted the formatting in Program.cs to ensure consistent spacing in the benchmark description for CoreOperationsBenchmark.
1 parent 61c6267 commit 37f0c61

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/benchmarks-scheduled.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,12 @@ jobs:
7575
*) echo "class_name=Unknown" >> $GITHUB_OUTPUT ;;
7676
esac
7777
78-
- name: Show current directory
79-
run: pwd
80-
- name: List results directory
81-
run: ls -lha $(pwd)/BenchmarkDotNet.Artifacts
82-
- name: List results directory
83-
run: ls -lha $(pwd)/BenchmarkDotNet.Artifacts/results
84-
8578
- name: Store benchmark result
8679
uses: benchmark-action/github-action-benchmark@v1
8780
with:
8881
name: ${{ matrix.benchmark }}-benchmark
8982
tool: 'benchmarkdotnet'
90-
output-file-path: Benchmarks/BenchmarkDotNet.Artifacts/results/Benchmarks.UseCases.${{ steps.benchmark-class.outputs.class_name }}-report.json
83+
output-file-path: BenchmarkDotNet.Artifacts/results/Benchmarks.UseCases.${{ steps.benchmark-class.outputs.class_name }}-report-full-compressed.json
9184
github-token: ${{ secrets.GITHUB_TOKEN }}
9285
auto-push: true
9386
# Show alert with commit comment on detecting possible performance regression

Benchmarks/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
Console.WriteLine("========================================");
3939
Console.WriteLine();
4040
Console.WriteLine("Available benchmark classes:");
41-
Console.WriteLine("1. CoreOperationsBenchmark - Basic cache operations (Get, Set, Delete, Refresh)[~10 minutes]");
41+
Console.WriteLine("1. CoreOperationsBenchmark - Basic cache operations (Get, Set, Delete, Refresh) [~10 minutes]");
4242
Console.WriteLine("2. DataSizeBenchmark - Performance with different payload sizes [~10 minutes]");
4343
Console.WriteLine("3. ExpirationBenchmark - Different expiration strategies [~10 minutes]");
4444
Console.WriteLine("4. ConcurrencyBenchmark - Concurrent access patterns [~15 minutes]");

0 commit comments

Comments
 (0)