Skip to content

Commit b5d197e

Browse files
authored
Merge branch 'dotnet:master' into survivedMemory
2 parents 1e96ae2 + c3fb7b9 commit b5d197e

File tree

146 files changed

+2163
-458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+2163
-458
lines changed

BenchmarkDotNet.sln.DotSettings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OSX/@EntryIndexedValue">OSX</s:String>
5252
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=RT/@EntryIndexedValue">RT</s:String>
5353
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
54+
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=_002A_003B_002A_003BJetBrains_002EAnnotations_002E_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
55+
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=_002A_003B_002A_003BSimpleJson_002E_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
5456
<s:Int64 x:Key="/Default/Environment/Hierarchy/Build/BuildTool/MsbuildVersion/@EntryValue">983040</s:Int64>
57+
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EdotCover_002EIde_002ECore_002EFilterManagement_002EModel_002ESolutionFilterSettingsManagerMigrateSettings/@EntryIndexedValue">True</s:Boolean>
5558
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean>
5659
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
5760
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### The MIT License
22

3-
Copyright (c) 2013–2020 .NET Foundation and contributors
3+
Copyright (c) 2013–2021 .NET Foundation and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

NuGet.Config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111
<add key="perfolizer-nightly" value="https://www.myget.org/F/perfolizer/api/v3/index.json" />
1212
<!-- reuquired to run Mono Wasm benchmarks -->
1313
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
14+
<!-- reuquired to run Mono AOT benchmarks -->
15+
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
1416
</packageSources>
1517
</configuration>

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ It's no harder than writing unit tests!
2929
Under the hood, it performs a lot of [magic](#Automation) that guarantees [reliable and precise](#Reliability) results thanks to the [perfolizer](https://github.com/AndreyAkinshin/perfolizer) statistical engine.
3030
BenchmarkDotNet protects you from popular benchmarking mistakes and warns you if something is wrong with your benchmark design or obtained measurements.
3131
The results are presented in a [user-friendly](#Friendliness) form that highlights all the important facts about your experiment.
32-
The library is adopted by [4500+ projects](#who-use-benchmarkdotnet) including .NET Runtime and supported by the [.NET Foundation](https://dotnetfoundation.org).
32+
The library is adopted by [6800+ projects](#who-uses-benchmarkdotnet) including .NET Runtime and supported by the [.NET Foundation](https://dotnetfoundation.org).
3333

3434
It's [easy](#Simplicity) to start writing benchmarks, check out an example
3535
(copy-pastable version is [here](https://benchmarkdotnet.org/articles/guides/getting-started.html)):
@@ -109,7 +109,7 @@ The measured data can be exported to different formats (md, html, csv, xml, json
109109

110110
*Supported runtimes:* .NET 5+, .NET Framework 4.6.1+, .NET Core 2.0+, Mono, CoreRT
111111
*Supported languages:* C#, F#, Visual Basic
112-
*Supported OS:* Windows, Linux, macOS
112+
*Supported OS:* Windows, Linux, macOS
113113
*Supported architectures:* x86, x64, ARM, ARM64 and Wasm
114114

115115
## Features
@@ -228,33 +228,33 @@ Of course, you can request any additional statistics and visualizations manually
228228
If you don't customize the summary view,
229229
the default presentation will be as much user-friendly as possible. :)
230230

231-
## Who use BenchmarkDotNet?
231+
## Who uses BenchmarkDotNet?
232232

233233
Everyone!
234-
BenchmarkDotNet is already adopted by more than [4500+](https://github.com/dotnet/BenchmarkDotNet/network/dependents?package_id=UGFja2FnZS0xNTY3MzExMzE%3D) projects including
234+
BenchmarkDotNet is already adopted by more than [6800+](https://github.com/dotnet/BenchmarkDotNet/network/dependents?package_id=UGFja2FnZS0xNTY3MzExMzE%3D) projects including
235235
[dotnet/performance](https://github.com/dotnet/performance) (reference benchmarks for all .NET Runtimes),
236236
[dotnet/runtime](https://github.com/dotnet/runtime/issues?utf8=%E2%9C%93&q=BenchmarkDotNet) (.NET Core runtime and libraries),
237237
[Roslyn](https://github.com/dotnet/roslyn/search?q=BenchmarkDotNet&type=Issues&utf8=✓) (C# and Visual Basic compiler),
238238
[Mono](https://github.com/mono/mono/tree/master/sdks/wasm/bench-runner),
239239
[ASP.NET Core](https://github.com/aspnet/AspNetCore/tree/master/src/Servers/IIS/IIS/benchmarks),
240-
[ML.NET](https://github.com/dotnet/machinelearning/tree/master/test/Microsoft.ML.Benchmarks),
240+
[ML.NET](https://github.com/dotnet/machinelearning/tree/main/test/Microsoft.ML.PerformanceTests),
241241
[Entity Framework Core](https://github.com/dotnet/efcore/tree/master/benchmark),
242+
[PowerShell](https://github.com/PowerShell/PowerShell/tree/master/test/perf/benchmarks)
242243
[SignalR](https://github.com/aspnet/SignalR/tree/master/benchmarks/Microsoft.AspNetCore.SignalR.Microbenchmarks),
243244
[F#](https://github.com/fsharp/fsharp/blob/master/tests/scripts/array-perf/array-perf.fs),
244245
[Orleans](https://github.com/dotnet/orleans/tree/master/test/Benchmarks),
245246
[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json/tree/master/Src/Newtonsoft.Json.Tests/Benchmarks),
246247
[Elasticsearch.Net](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/bool-queries.html#_perfomance_considerations),
247-
[Dapper](https://github.com/StackExchange/Dapper/tree/master/Dapper.Tests.Performance),
248+
[Dapper](https://github.com/DapperLib/Dapper/tree/main/benchmarks/Dapper.Tests.Performance),
248249
[Expecto](https://github.com/haf/expecto/tree/master/Expecto.BenchmarkDotNet),
249-
[Accord.NET](https://github.com/accord-net/framework/tree/development/Tools/Performance),
250250
[ImageSharp](https://github.com/SixLabors/ImageSharp/tree/master/tests/ImageSharp.Benchmarks),
251251
[RavenDB](https://github.com/ravendb/ravendb/tree/v4.0/bench),
252252
[NodaTime](https://github.com/nodatime/nodatime/tree/master/src/NodaTime.Benchmarks),
253253
[Jint](https://github.com/sebastienros/jint/tree/dev/Jint.Benchmark),
254254
[NServiceBus](https://github.com/Particular/NServiceBus/issues?utf8=✓&q=+BenchmarkDotNet+),
255255
[Serilog](https://github.com/serilog/serilog/tree/dev/test/Serilog.PerformanceTests),
256256
[Autofac](https://github.com/autofac/Autofac/tree/develop/bench/Autofac.Benchmarks),
257-
[Npgsql](https://github.com/npgsql/npgsql/tree/dev/test/Npgsql.Benchmarks),
257+
[Npgsql](https://github.com/npgsql/npgsql/tree/main/test/Npgsql.Benchmarks),
258258
[Avalonia](https://github.com/AvaloniaUI/Avalonia/tree/master/tests/Avalonia.Benchmarks),
259259
[ReactiveUI](https://github.com/reactiveui/ReactiveUI/tree/master/src/Benchmarks),
260260
[SharpZipLib](https://github.com/icsharpcode/SharpZipLib/tree/master/benchmark/ICSharpCode.SharpZipLib.Benchmark),
@@ -266,9 +266,9 @@ BenchmarkDotNet is already adopted by more than [4500+](https://github.com/dotne
266266
[TensorFlow.NET](https://github.com/SciSharp/TensorFlow.NET/tree/master/src/TensorFlowNet.Benchmarks),
267267
[Apache Thrift](https://github.com/apache/thrift/tree/master/lib/netstd/Benchmarks/Thrift.Benchmarks).
268268
On GitHub, you can find
269-
3500+ [issues](https://github.com/search?o=desc&q=BenchmarkDotNet+-repo:dotnet%2FBenchmarkDotNet&s=created&type=Issues&utf8=✓),
270-
2100+ [commits](https://github.com/search?o=desc&q=BenchmarkDotNet+-repo:dotnet%2FBenchmarkDotNet&s=committer-date&type=Commits&utf8=✓), and
271-
650,000+ [files](https://github.com/search?o=desc&q=BenchmarkDotNet+-repo:dotnet%2FBenchmarkDotNet&s=indexed&type=Code&utf8=✓)
269+
4500+ [issues](https://github.com/search?o=desc&q=BenchmarkDotNet+-repo:dotnet%2FBenchmarkDotNet&s=created&type=Issues&utf8=✓),
270+
2500+ [commits](https://github.com/search?o=desc&q=BenchmarkDotNet+-repo:dotnet%2FBenchmarkDotNet&s=committer-date&type=Commits&utf8=✓), and
271+
500,000+ [files](https://github.com/search?o=desc&q=BenchmarkDotNet+-repo:dotnet%2FBenchmarkDotNet&s=indexed&type=Code&utf8=✓)
272272
that involve BenchmarkDotNet.
273273

274274
## Learn more about benchmarking

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#---------------------------------#
44

55
# version format
6-
version: 0.12.1.{build}
6+
version: 0.13.0.{build}
77

88
# branches to build
99
branches:

build.cake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var skipTests = Argument("SkipTests", false);
88
// GLOBAL VARIABLES
99
var toolsDirectory = "./tools/";
1010
var docfxExe = toolsDirectory + "docfx/docfx.exe";
11-
var docfxVersion = "2.51";
11+
var docfxVersion = "2.57.2";
1212
var changelogDir = "./docs/changelog/";
1313
var changelogGenDir = "./docs/_changelog/";
1414
var bdnAllVersions = new string[] {
@@ -56,9 +56,10 @@ var bdnAllVersions = new string[] {
5656
"v0.11.4",
5757
"v0.11.5",
5858
"v0.12.0",
59-
"v0.12.1"
59+
"v0.12.1",
60+
"v0.13.0"
6061
};
61-
var bdnNextVersion = "v0.12.2";
62+
var bdnNextVersion = "v0.13.1";
6263
var bdnFirstCommit = "6eda98ab1e83a0d185d09ff8b24c795711af8db1";
6364

6465
var artifactsDirectory = Directory("./artifacts");

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Param(
3131
[string[]]$ScriptArgs
3232
)
3333

34-
$CakeVersion = "0.37.0"
35-
$DotNetVersion = "5.0.101";
34+
$CakeVersion = "1.1.0"
35+
$DotNetVersion = "5.0.301";
3636
$DotNetInstallerUri = "https://dot.net/v1/dotnet-install.ps1";
3737
$NugetUrl = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
3838

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
1010
TOOLS_DIR=$SCRIPT_DIR/tools
1111
NUGET_EXE=$TOOLS_DIR/nuget.exe
1212
NUGET_URL=https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
13-
CAKE_VERSION=0.37.0
13+
CAKE_VERSION=1.1.0
1414
CAKE_EXE=$TOOLS_DIR/Cake.$CAKE_VERSION/Cake.exe
1515

1616
# Define default arguments.
@@ -47,7 +47,7 @@ if [ ! -d "$SCRIPT_DIR/.dotnet" ]; then
4747
mkdir "$SCRIPT_DIR/.dotnet"
4848
fi
4949
curl -Lsfo "$SCRIPT_DIR/.dotnet/dotnet-install.sh" https://dot.net/v1/dotnet-install.sh
50-
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --version 5.0.101 --install-dir .dotnet --no-path
50+
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --version 5.0.301 --install-dir .dotnet --no-path
5151
export PATH="$SCRIPT_DIR/.dotnet":$PATH
5252
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
5353
export DOTNET_CLI_TELEMETRY_OPTOUT=1

build/build-and-pack.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:: this script should be executed from the root dir
22

33
git clean -xfd
4-
dotnet restore
4+
dotnet restore BenchmarkDotNet.sln
55
dotnet build .\src\BenchmarkDotNet\BenchmarkDotNet.csproj -c Release
66
dotnet build .\src\BenchmarkDotNet.Diagnostics.Windows\BenchmarkDotNet.Diagnostics.Windows.csproj -c Release
77
dotnet build .\src\BenchmarkDotNet.Annotations\BenchmarkDotNet.Annotations.csproj -c Release

build/common.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
<LangVersion>7.3</LangVersion>
3232

3333
<Major>0</Major>
34-
<Minor>12</Minor>
35-
<Revision>1</Revision>
34+
<Minor>13</Minor>
35+
<Revision>0</Revision>
3636

3737
<BuildNumber Condition=" '$(APPVEYOR_BUILD_NUMBER)' != '' ">$(APPVEYOR_BUILD_NUMBER)</BuildNumber>
3838
<BuildNumber Condition=" '$(BuildNumber)' == '' ">0</BuildNumber>

0 commit comments

Comments
 (0)