From e3eb631e9cadc1c26ea2be15729ffd9fa3555fbb Mon Sep 17 00:00:00 2001 From: leonvandermeer <64834803+leonvandermeer@users.noreply.github.com> Date: Fri, 29 Nov 2024 18:46:24 +0100 Subject: [PATCH] Apply rework from code review Co-authored-by: Tim Cassell <35501420+timcassell@users.noreply.github.com> --- docs/articles/samples/IntroWakeLock.md | 2 +- src/BenchmarkDotNet/Configs/WakeLockType.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/articles/samples/IntroWakeLock.md b/docs/articles/samples/IntroWakeLock.md index 1cb3c5c96b..04695c3e2b 100644 --- a/docs/articles/samples/IntroWakeLock.md +++ b/docs/articles/samples/IntroWakeLock.md @@ -4,7 +4,7 @@ uid: BenchmarkDotNet.Samples.IntroWakeLock ## Sample: IntroWakeLock -Running Benchmarks usually takes enough time such that the system enters sleep or turns of the display. +Running benchmarks may sometimes take enough time such that the system enters sleep or turns off the display. Using a WakeLock prevents the system doing so. diff --git a/src/BenchmarkDotNet/Configs/WakeLockType.cs b/src/BenchmarkDotNet/Configs/WakeLockType.cs index e676c57a51..b90a461dcf 100644 --- a/src/BenchmarkDotNet/Configs/WakeLockType.cs +++ b/src/BenchmarkDotNet/Configs/WakeLockType.cs @@ -5,7 +5,7 @@ public enum WakeLockType /// /// Allows the system to enter sleep and/or turn off the display while benchmarks are running. /// - No, + None, /// /// Forces the system to be in the working state while benchmarks are running.