You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- updated the UnitsNet.Benchmark project (updated nugets & added frameworks)
- added BenchmarkCategories to the existing benchmarks
- added a few scripts for local testing (individual, multi-platform + rplots)
- added an automatic benchmark workflow on pushing to [master] (some folders), running for ["netcoreapp50", "netcoreapp21", "net472"]
- added workflows triggered on workflow_dispatch for running a benchmark (with options for comparing against a baseline)
# The benchmark comparer is currently taken from dotnet/performance/src/tools/ResultsComparer (hoping that a 'tool' would eventually be made available)
107
+
- name: Download ResultsComparer
108
+
uses: actions/checkout@v2
109
+
with:
110
+
repository: dotnet/performance
111
+
path: comparer
112
+
113
+
- uses: actions/setup-dotnet@v1
114
+
with:
115
+
dotnet-version: '3.1.x'
116
+
117
+
- run: mkdir -p artifacts
118
+
119
+
# Executing the comparer, placing the result in a 'comparison' folder (as well as creating a summary from the output)
120
+
- name: Running the ResultsComparer
121
+
env:
122
+
PERFLAB_TARGET_FRAMEWORKS: netcoreapp3.1
123
+
run: >
124
+
dotnet run --project 'comparer/src/tools/ResultsComparer' -c Release
:: this fails on the build server (also tested with the nightly benchmark.net package: 0.12.1.1533): possibly related to https://github.com/dotnet/BenchmarkDotNet/issues/1487
6
+
dotnet run --project "%projectdir%/UnitsNet.Benchmark" -c Release ^
:: this runs fine, however there is currently no way of displaying multiple-lines-per-chart: see https://github.com/rhysd/github-action-benchmark/issues/18
0 commit comments