Skip to content

Commit

Permalink
Fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDeml committed Dec 3, 2020
1 parent 3980598 commit 1eba903
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<NeutralLanguage>en-US</NeutralLanguage>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU;x64</Platforms>
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using System.Globalization;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Exporters.Csv;
Expand Down Expand Up @@ -45,7 +44,6 @@ public BenchmarkConfig()
var processableStyle = new SummaryStyle(CultureInfo.InvariantCulture, false, SizeUnit.KB, TimeUnit.Microsecond,
false, true, 100);
AddExporter(new CsvExporter(CsvSeparator.Comma, processableStyle));
AddDiagnoser(MemoryDiagnoser.Default);
}
}
}
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Options: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build
# Build targets: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog

dotnet build --configuration Release --output ./bin/NetworkingBenchmarkDotNet-Linux/
dotnet build --configuration Release --output ./bin/NetworkBenchmarkDotNet-Linux/
2 changes: 1 addition & 1 deletion run-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ else
mode="$1"
fi

./bin/NetworkingBenchmarkDotNet-Linux/NetworkingBenchmarkDotNet -b "$mode"
sudo ./bin/NetworkBenchmarkDotNet-Linux/NetworkBenchmarkDotNet -b "$mode"

0 comments on commit 1eba903

Please sign in to comment.