dotnet / crank

Benchmarking infrastructure for applications
MIT License
976 stars 103 forks source link

Windows process limit support CpuLimitRatio #620

Closed catcherwong closed 11 months ago

catcherwong commented 1 year ago

https://github.com/dotnet/crank/blob/a6fc4c7e30028affb052ea585c3e123e32c1cd09/src/Microsoft.Crank.Agent/Startup.cs#L4735

Only MemoryLimitInBytes and CpuSet are supported for Windows. Should we add CpuLimitRatio for Windows as well? We can use JOBOBJECT_CPU_RATE_CONTROL_INFORMATION to support it.