diff --git a/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj b/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj index 8c5cdd7..6a64b8b 100644 --- a/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj +++ b/NetworkBenchmarkDotNet/NetworkBenchmarkDotNet.csproj @@ -11,7 +11,7 @@ en-US Debug;Release AnyCPU;x64 - net5.0;netcoreapp3.1 + netcoreapp3.1 diff --git a/NetworkBenchmarkDotNet/PredefinedBenchmarks/BenchmarkConfig.cs b/NetworkBenchmarkDotNet/PredefinedBenchmarks/BenchmarkConfig.cs index d09270d..436d318 100644 --- a/NetworkBenchmarkDotNet/PredefinedBenchmarks/BenchmarkConfig.cs +++ b/NetworkBenchmarkDotNet/PredefinedBenchmarks/BenchmarkConfig.cs @@ -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; @@ -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); } } } diff --git a/build.sh b/build.sh index 78c7ce8..c2a1b04 100644 --- a/build.sh +++ b/build.sh @@ -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/ diff --git a/run-benchmark.sh b/run-benchmark.sh index c1bec58..1b2e0a7 100644 --- a/run-benchmark.sh +++ b/run-benchmark.sh @@ -7,4 +7,4 @@ else mode="$1" fi -./bin/NetworkingBenchmarkDotNet-Linux/NetworkingBenchmarkDotNet -b "$mode" +sudo ./bin/NetworkBenchmarkDotNet-Linux/NetworkBenchmarkDotNet -b "$mode"