BenchmarkDotNet v0.10.13
BenchmarkDotNet v0.10.13 has been released! This release includes:
- Mono Support for DisassemblyDiagnoser:
Now you can easily get an assembly listing not only on .NET Framework/.NET Core, but also on Mono.
It works on Linux, macOS, and Windows (Windows requires installed cygwin with
obj
andas
). (See #541) - Support ANY CoreFX and CoreCLR builds: BenchmarkDotNet allows the users to run their benchmarks against ANY CoreCLR and CoreFX builds. You can compare your local build vs MyGet feed or Debug vs Release or one version vs another. (See #651)
- C# 7.2 support (See #643)
- .NET 4.7.1 support (See 28aa94)
- Support Visual Basic project files (.vbroj) targeting .NET Core (See #626)
- DisassemblyDiagnoser now supports generic types (See #640)
- Now it’s possible to benchmark both Mono and .NET Core from the same app (See #653)
- Many bug fixes (See details below)
Milestone details
In the v0.10.13 scope, 15 issues were resolved and 9 pull requests where merged. This release includes 50 commits by 8 contributors.
Resolved issues (15)
- #541 Mono Support for DisassemblyDiagnoser (assignee: @morgan-kn)
- #614 Build fails with “‘Microsoft.NETCore.App’, version ‘1.1.2’ was not found” probably due to 1.1.4 runtime not being available
- #626 Support Visual Basic project files (.vbroj) targeting .NET Core (assignee: @adamsitnik)
- #630 Bug: Statistics.DivMean - NullReferenceException (assignee: @AndreyAkinshin)
- #631 Bug: Generic benchmark class fails for DisassemblyDiagnoser with “Sequence contains no matching element” (assignee: @adamsitnik)
- #632 ParamsSource no longer sorted in results (assignee: @AndreyAkinshin)
- #634 Extend SummaryOrderPolicy (assignee: @adamsitnik)
- #636 Unable to run Runner.exe –method MethodName (assignee: @adamsitnik)
- #640 Disassembler fails with generic instance (assignee: @adamsitnik)
- #643 Feature ‘private protected’ is not available in C# 7.0. Please use language version 7.2 or greater. (assignee: @adamsitnik)
- #644 BenchmarkDotNet.Mathematics.RankHelper again. (assignee: @AndreyAkinshin)
- #648 BenchmarkDotNet requires dotnet cli toolchain to be installed (assignee: @adamsitnik)
- #651 Support ANY CoreFX and CoreCLR builds (assignee: @adamsitnik)
- #652 BenchmarkSwitcher should support generic types with parameterless public ctors (assignee: @adamsitnik)
- #653 Proper way to run BenchmarkDotNet on macOS/Linux (assignee: @adamsitnik)
Merged pull requests (9)
- #624 Upgrade build tools (by @Ky7m)
- #625 Fix xunit warnings connected to usage of Assert.Equal() to check for Null (by @Ky7m)
- #633 HostEnvironmentInfo: remove LogicalCoreCount (by @morgan-kn)
- #637 Mono Support for DisassemblyDiagnoser #541 (by @morgan-kn)
- #639 Portability.Cpu tests improvements (by @morgan-kn)
- #642 sync DataContracts to CopiedDataContracts (by @morgan-kn)
- #645 Fixing –help display for options (by @ENikS)
- #646 Allow sorting by the Method name in DefaultOrderProvider and OrderProviderAttribute (by @ENikS)
- #666 Plots…Examples…Added A config example in F# (by @ScottHutchinson)
Commits (50)
- a26e82 Upgrade build tools: (by @Ky7m)
- 1643cb Merge pull request #624 from Ky7m/upgrade-build-tools (by @adamsitnik)
- abae51 Fix xunit warnings connected to usage of Assert.Equal() to check for null val… (by @Ky7m)
- fb68bc support Visual Basic .NET Core projects, fixes #626 (by @adamsitnik)
- 067a33 Remove redundant properties in common.props (by @AndreyAkinshin)
- 80deb9 BuildNumber fix in common.props (by @AndreyAkinshin)
- 87b458 Add CONTRIBUTING.md (by @AndreyAkinshin)
- 8bcf42 Add CODE_OF_CONDUCT.md (by @AndreyAkinshin)
- d3867d HostEnvironmentInfo: remove LogicalCoreCount (#633) (by @morgan-kn)
- 06e66a Specify PLACE_SIMPLE_EMBEDDED_STATEMENT_ON_SAME_LINE in DotSettings (by @AndreyAkinshin)
- d8ac43 Mono Support for DisassemblyDiagnoser #541 (by @morgan-kn)
- 4356da Merge pull request #637 from morgan-kn/MonoSupportForDisassemblyDiagnoser (by @AndreyAkinshin)
- 7572f4 Fix paths to images in docs (by @AndreyAkinshin)
- f076df Portability.Cpu tests improvements (by morgan_kn)
- da6499 Merge pull request #639 from morgan-kn/TestsImprovment (by @AndreyAkinshin)
- 5dd1a5 Disassembly Diagnoser: support for generic types, fixes #640 fixes #631 (by @adamsitnik)
- 3c0e71 diassembly diangoser: different methods can have same metadata id, add type i… (by @adamsitnik)
- 294801 test fix ;) (by @adamsitnik)
- 9e66bb sync DataContracts to CopiedDataContracts (by Irina Ananyeva)
- 690f34 Merge pull request #642 from morgan-kn/sync (by @adamsitnik)
- e1e3e2 don’t use type.Fullname for file names, it’s too long for generics (by @adamsitnik)
- 43d7c2 we restore before build, so build does need to restore too (it’s new default … (by @adamsitnik)
- 9d4c33 trying harder to trick the JIT (#640, #631) (by @adamsitnik)
- f8f70f Natural ordering for logical groups, fixes #632 (by @AndreyAkinshin)
- a2ec34 copy LanguageVersion to the output .csproj, fixes #643 (by @adamsitnik)
- 31e6dd Fixing –help display for options (#645), fixes #636 (by @ENikS)
- 45ace9 Allow sorting by the Method name in DefaultOrderProvider and OrderProviderAtt… (by @ENikS)
- 8811f2 Fix typo in docs/guide/Contributing/Disassembler.md (by @AndreyAkinshin)
- 7da7b9 allow the users to customize Artifacts Path, #377 (by @adamsitnik)
- 7554bf validate CustomDotNetCliPath, fixes #648 (by @adamsitnik)
- 683964 Support ANY CoreFX and CoreCLR builds, fixes #651 (by @adamsitnik)
- 695386 support also only custom CoreFX scenario (default runtime), part of #651 (by @adamsitnik)
- eb4dcf allow the users to copy some files after the publish, part of #651 (by @adamsitnik)
- b076a3 Add Newtonsoft.Json in the README (by @AndreyAkinshin)
- b4eef5 better generics support, fixes #652 (by @adamsitnik)
- 77fd46 Handle null values in Statistics.DivMean and Statistics.DivVariance, fixes #630 (by @AndreyAkinshin)
- e547f8 Fix NRE in RankColumn, fixes #644 (by @AndreyAkinshin)
- 28aa94 allow the users to choose .NET 4.7.1 (by @adamsitnik)
- 503570 Fixed image link (by @svick)
- 93cc85 Merge pull request #655 from svick/patch-1 (by @adamsitnik)
- d33cde Fixed code block formatting (by @svick)
- cb7c09 Merge pull request #657 from svick/patch-1 (by @adamsitnik)
- 650b4a host Mono process should be able to build .NET Core child process, fixes #653 (by @adamsitnik)
- d1dcab List formatting for FAQ (by @svick)
- fe52e3 Merge pull request #663 from svick/faq-formatting (by @adamsitnik)
- 7792cb Example in F#: with corrected code formatting (by @ScottHutchinson)
- e6b225 Merge pull request #666 from ScottHutchinson/patch-2 (by @AndreyAkinshin)
- f90207 Allow restore and build command override (#670) (by @Matthew-Bonner)
- 4443cd Update example in README (by @AndreyAkinshin)
- de0b68 Set library version: 0.10.13 (by @AndreyAkinshin)
Contributors (8)
- Adam Sitnik (@adamsitnik)
- Andrey Akinshin (@AndreyAkinshin)
- Eugene Sadovoi (@ENikS)
- Igor Fesenko (@Ky7m)
- Irina Ananyeva (@morgan-kn)
- Matthew Bonner (@Matthew-Bonner)
- Petr Onderka (@svick)
- Scott Hutchinson (@ScottHutchinson)
Thank you very much!