rjmurillo / moq.analyzers

Set of analyzers for Moq mocking library
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

Add BDN perf comparison tool from roslyn analyzers #119

Closed rjmurillo closed 1 week ago

rjmurillo commented 1 week ago

Add BenchmarkDotNet (BDN) to part of build. Compare against a baseline as a git commit hash. If there is a performance difference above threshold, fail the build step.

Changes

The tools and scripts were largely copied with minimal modifications. This is to reduce variance from "upstream". Improvements to this tool are tracked in #130

Fixes #129

codacy-production[bot] commented 1 week ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.00% (target: -1.00%) :white_check_mark: (target: 95.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (2dcad69955102f6237eb291a15d320d8fff5ff7a) | 458 | 423 | 92.36% | | | Head commit (8b34a4202ce1903bdab77fe9871d89f3eb44dc46) | 458 (+0) | 423 (+0) | 92.36% (**+0.00%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#119) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more