{"id":36964927,"url":"https://github.com/codebeltnet/benchmarkdotnet","last_synced_at":"2026-02-28T07:37:42.532Z","repository":{"id":328685158,"uuid":"1106702107","full_name":"codebeltnet/benchmarkdotnet","owner":"codebeltnet","description":"This library provides a uniform way of benchmarking your projects with BenchmarkDotNet.","archived":false,"fork":false,"pushed_at":"2025-12-14T19:06:59.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-17T04:57:25.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebeltnet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-29T19:15:00.000Z","updated_at":"2025-12-14T22:46:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/codebeltnet/benchmarkdotnet","commit_stats":null,"previous_names":["codebeltnet/benchmarkdotnet"],"tags_count":2,"template":false,"template_full_name":"codebeltnet/dotnet-new-classlib","purl":"pkg:github/codebeltnet/benchmarkdotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebeltnet%2Fbenchmarkdotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebeltnet%2Fbenchmarkdotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebeltnet%2Fbenchmarkdotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebeltnet%2Fbenchmarkdotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebeltnet","download_url":"https://codeload.github.com/codebeltnet/benchmarkdotnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebeltnet%2Fbenchmarkdotnet/sbom","scorecard":{"id":1240557,"data":{"date":"2025-12-19T17:07:07Z","repo":{"name":"github.com/codebeltnet/benchmarkdotnet","commit":"d25700f7fd8375cc92abb74f8efd3d6b53b3f2bd"},"scorecard":{"version":"v5.0.0","commit":"ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4"},"score":5.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Warn: 'stale review dismissal' is disable on branch 'main'","Warn: branch 'main' does not require approvers","Warn: codeowners review is not required on branch 'main'","Warn: 'last push approval' is disable on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":10,"reason":"3 out of 3 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#ci-tests"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#code-review"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#contributors"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#license"}},{"name":"Maintained","score":0,"reason":"project was created in last 90 days. please review its contents carefully","details":["Warn: Repository was created in last 90 days."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scorecard.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codebeltnet/benchmarkdotnet/scorecard.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/scorecard.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/codebeltnet/benchmarkdotnet/scorecard.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scorecard.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/codebeltnet/benchmarkdotnet/scorecard.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scorecard.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/codebeltnet/benchmarkdotnet/scorecard.yml/main?enable=pin","Warn: containerImage not pinned by hash: .docfx/Dockerfile.docfx:3","Warn: containerImage not pinned by hash: .docfx/Dockerfile.docfx:6","Warn: containerImage not pinned by hash: .docfx/Dockerfile.docfx:13","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (3) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#sast"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#signed-releases"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/ci-pipeline.yml:81","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci-pipeline.yml:93","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/ci-pipeline.yml:94","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci-pipeline.yml:17","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:9"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-12-20T21:00:03.757Z","repository_id":328685158,"created_at":"2025-12-20T21:00:03.757Z","updated_at":"2025-12-20T21:00:03.757Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28397848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-13T19:49:03.465Z","updated_at":"2026-01-13T19:49:04.394Z","avatar_url":"https://github.com/codebeltnet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Extensions for BenchmarkDotNet API by Codebelt](.nuget/Codebelt.Extensions.BenchmarkDotNet/icon.png)\n\n# Extensions for BenchmarkDotNet API by Codebelt\n\n[![BenchmarkDotNet CI/CD Pipeline](https://github.com/codebeltnet/benchmarkdotnet/actions/workflows/ci-pipeline.yml/badge.svg)](https://github.com/codebeltnet/benchmarkdotnet/actions/workflows/ci-pipeline.yml)[![codecov](https://codecov.io/gh/codebeltnet/benchmarkdotnet/graph/badge.svg?token=qX3lHGvFS4)](https://codecov.io/gh/codebeltnet/benchmarkdotnet) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=benchmarkdotnet\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=benchmarkdotnet) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=benchmarkdotnet\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=benchmarkdotnet) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=benchmarkdotnet\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=benchmarkdotnet) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=benchmarkdotnet\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=benchmarkdotnet) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/codebeltnet/benchmarkdotnet/badge)](https://scorecard.dev/viewer/?uri=github.com/codebeltnet/benchmarkdotnet)\n\nAn open-source project (MIT license) that targets and complements the [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) performance library. It provides a uniform and convenient way of doing benchmarking for all project types in .NET.\n\nYour versatile BenchmarkDotNet companion for modern development with `.NET 9` and `.NET 10`.\n\nIt is, by heart, free, flexible and built to extend and boost your agile codebelt.\n\n## Concept\n\nThe Extensions for BenchmarkDotNet API by Codebelt is designed to bring clarity, structure, and consistency to BenchmarkDotNet projects.\n\n### Folder Structure\n\nThe folder structure promoted by **Codebelt.Extensions.BenchmarkDotNet** follows the same architectural principles commonly used for test projects—while remaining purpose-built for benchmarking.\n\nAt the solution level, benchmarks are treated as a first-class concern, clearly separated from tooling and output artifacts.\n\n- **tuning** contains all benchmark projects (e.g. `*.Benchmarks`), in the same way that a `test` folder typically contains `*.Tests` projects,\n- **tooling** hosts the executable console application responsible for discovering and running benchmarks,\n- **reports** captures benchmark results and generated artifacts, separated from source code and tooling concerns.\n\nThis separation enforces a clean boundary between benchmark definition, execution, and output, making benchmark suites easier to scale, automate, and reason about.\n\n### Layout Example\n\n```text\nRepository Root\n│\n├─ reports\n│  └─ tuning\n│     └─ github\n│        └─ MyLibrary.ExampleBenchmarks-report-github.md\n│\n├─ src\n│  └─ MyLibrary\n│\n├─ test\n│  └─ MyLibrary.Tests\n│     └─ ExampleTest.cs\n│\n├─ tooling\n│  └─ benchmark-runner\n│     └─ Program.cs\n│\n└─ tuning\n   └─ MyLibrary.Benchmarks\n      └─ ExampleBenchmark.cs\n```\n\n### Codebelt.Extensions.BenchmarkDotNet.Console Example\n\nBenchmarks are executed through a console-hosted Generic Host, allowing full participation in dependency injection, configuration, logging and more.\n\n```csharp\nusing BenchmarkDotNet.Configs;\nusing BenchmarkDotNet.Environments;\nusing BenchmarkDotNet.Jobs;\nusing Codebelt.Extensions.BenchmarkDotNet.Console;\n\npublic class Program\n{\n    public static void Main(string[] args)\n    {\n        BenchmarkProgram.Run(args, o =\u003e\n        {\n            o.AllowDebugBuild = BenchmarkProgram.IsDebugBuild;\n            o.ConfigureBenchmarkDotNet(c =\u003e\n            {\n                var slimJob = BenchmarkWorkspaceOptions.Slim;\n                return c.AddJob(slimJob.WithRuntime(CoreRuntime.Core90))\n                    .AddJob(slimJob.WithRuntime(CoreRuntime.Core10_0));\n            });\n        });\n    }\n}\n```\n\n## 📚 Documentation\n\nFull documentation (generated by [DocFx](https://github.com/dotnet/docfx)) located here: https://benchmarkdotnet.codebelt.net/\n\n## 📦 Standalone Packages\n\nProvides a focused API for BenchmarkDotNet projects.\n\n|Package|vNext|Stable|Downloads|\n|:--|:-:|:-:|:-:|\n| [Codebelt.Extensions.BenchmarkDotNet](https://www.nuget.org/packages/Codebelt.Extensions.BenchmarkDotNet/) | ![vNext](https://img.shields.io/nuget/vpre/Codebelt.Extensions.BenchmarkDotNet?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Codebelt.Extensions.BenchmarkDotNet?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Codebelt.Extensions.BenchmarkDotNet?color=blueviolet\u0026logo=nuget) |\n| [Codebelt.Extensions.BenchmarkDotNet.Console](https://www.nuget.org/packages/Codebelt.Extensions.BenchmarkDotNet.Console/) | ![vNext](https://img.shields.io/nuget/vpre/Codebelt.Extensions.BenchmarkDotNet.Console?logo=nuget) | ![Stable](https://img.shields.io/nuget/v/Codebelt.Extensions.BenchmarkDotNet.Console?logo=nuget) | ![Downloads](https://img.shields.io/nuget/dt/Codebelt.Extensions.BenchmarkDotNet.Console?color=blueviolet\u0026logo=nuget) |\n\n### Contributing to `Extensions for BenchmarkDotNet API by Codebelt`\n[Contributions](.github/CONTRIBUTING.md) are welcome and appreciated.\n\nFeel free to submit issues, feature requests, or pull requests to help improve this library.\n\n### License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebeltnet%2Fbenchmarkdotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebeltnet%2Fbenchmarkdotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebeltnet%2Fbenchmarkdotnet/lists"}