dotnet / format

Home for the dotnet-format command
MIT License
1.92k stars 173 forks source link

Simplify the benchmarks #1873

Closed adamsitnik closed 1 year ago

adamsitnik commented 1 year ago

There is no need to tell BenchmarkDotNet the target TFM of the benchmark process, as it by default uses the host process tfm.

https://benchmarkdotnet.org/articles/configs/toolchains.html#multiple-frameworks-support

Moreover the values got outdated:

https://github.com/dotnet/format/blob/1297f6fcff6c301c2617930bbbea8879cafee538/perf/dotnet-format.Performance.csproj#L4