Skip to content

BenchmarkDotNet v0.15.8

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:54
· 87 commits to master since this release

This release adds OpenMetrics exporter support for Prometheus-compatible metrics export, improves the Roslyn analyzers with multi-target support and better type checking, and fixes several bugs including process deadlocks and WASM trimming issues.

Features

  • Add OpenMetrics exporter for Prometheus-compatible metrics output (#2801)
  • Add Job info to DisassemblyDiagnoser report headers to distinguish assemblies when using multiple coreruns (#2884, fixes #2573)
  • Add NO_COLOR environment variable support for disabling console colors (#2870)

Improvements

  • Multi-target analyzers with improved type assignability checking using semantic model (#2866)
  • Add new analyzer diagnostic BDN1503 for better argument/params validation (#2865, fixes #2864)
  • Use PolySharp for [DynamicallyAccessedMembers] attribute polyfill (#2883)
  • Refactor to use AsyncProcessOutputReader for cleaner process output handling (#2878)

Bug Fixes

  • Fix process deadlock issue when reading process output (#2877)
  • Fix WASM generated project being trimmed out (#2872)
  • Allow filters to filter out every benchmark from a type without errors (#2879, fixes #2860)
  • Fix unhandled exception when running BenchmarkRunner.Run<T>() with arguments on invalid benchmark type (#2880, fixes #2724)

Internal

  • Update release workflow for analyzers (#2882)
  • Improve docs building workflow
  • Cleanup #if-#endif preprocessor directives using PolySharp polyfills (#2881)

Full Changelog: v0.15.7...v0.15.8