Replace Thread.Sleep with task.Delay #7427
Labels
Area-Quality
Stability, Performance, Etc.
Area-Tests
issues that relate to tests
Cost-Small
Small work item - 0-8 hours of work
Help Wanted
We encourage anyone to jump in on these and submit a PR.
Product-Color Picker
All things around the Color Picker utility
Product-PowerToys Run
Improved app launch PT Run (Win+R) Window
Milestone
Performance Improvement of PT Run
Similar to PR #7401, replacing
Thread.Sleep
withTask.Delay
throughout the codebase would improve the performance of PT Run asThread.Sleep
blocks the thread that it is called on whereasTask.Delay
uses a timer instead and schedules a thread to resume work after the interval has passed. This does not block the thread.The text was updated successfully, but these errors were encountered: