Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Affinitize benchmark process to performance cores by default

オープン
#3,266 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
csharp

調査の方向性

No files or tests are named. Start by investigating how BenchmarkDotNet controls benchmark process affinity and how CPU core types can be detected, beginning with cpuid and vendor documentation for x86 and the available Arm64 approach. Done means performance cores are selected by default with a way to opt out or select efficiency cores.

索引モデルが issue の本文から書いたものです。

説明

Area:Toolchains up-for-grabs

Some modern CPUs have non heterogenous core configurations, meaning that some cores are faster than others.

On x86 Intel is currently doing it, AMD does it in limited capacity on laptops while on Arm64 most CPUs have it AFAIR.

This can result in wildly different timings between benchmark runs or even timing changes in the middle due to the OS moving the code to a different core.

BDN should probably default to affinitizing the benchmark process to only "performance" cores, witha way to somehow opt out/force "efficiency" ones.

On X86 the core types can be discovered with cpuid and information from CPU vendor manuals, no idea how to do it on arm64.

主要言語
C#
スター
11.5k
フォーク
1.1k
平均マージ
1日 21分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/BenchmarkDotNet のほかの issue

dotnet/BenchmarkDotNet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。