You should not change power plant to High Performance if it is already Ultimate Performance.
Guide contributeur
Stack technique
csharp
Domaine
performance
Type d'issue
bug
DifficultéDifficulté estimée pour un nouveau contributeur, de 1 pour un très petit changement à 5 pour un travail expert.
2
Temps estiméFourchette de temps approximative pour investiguer, implémenter, tester et préparer une pull request.
under 1 hour
Statut d'activitéDisponibilité apparente de l'issue : fraîche, active, ancienne, bloquée ou en attente d'un mainteneur.
fresh
ClartéClarté avec laquelle l'issue explique le changement attendu, les critères d'acceptation et la prochaine étape.
clear
Prérequis
Basic C# knowledgeFamiliarity with BenchmarkDotNet
Accessibilité débutantScore de 1 à 100 estimant l'accessibilité de cette issue pour un premier contributeur.
80
Direction de recherche
Look at the power plan management code in BenchmarkDotNet, likely in the 'Engine' or 'Environment' related files. The issue suggests checking if the current power plan is already 'Ultimate Performance' before switching to 'High Performance'. Find where the power plan is changed and add a condition to avoid unnecessary changes.