dotnet / dotnet/performance

tests on windows run faster when run as admin

Open
#2,278 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
773
Forks
301
Avg merge
6d 9h
Merged PRs (30d)
15

Description

I'm seeing some pretty sizeable changes in perf when running tests as admin. Not sure why just yet.

### Run under my normal user account

BenchmarkDotNet=v0.13.1.1694-nightly, OS=Windows 11 (10.0.22000.493/21H2)
Intel Core i7-8700 CPU 3.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
.NET SDK=7.0.100-alpha.1.21568.2
[Host] : .NET 6.0.2 (6.0.222.6406), X64 RyuJIT
Job-MJNEMQ : .NET 7.0.0 (42.42.42.42424), X64 RyuJIT
Job-TCPSLQ : .NET 7.0.0 (42.42.42.42424), X64 RyuJIT

PowerPlanMode=00000000-0000-0000-0000-000000000000 Arguments=/p:DebugType=portable,-bl:benchmarkdotnet.binlog IterationTime=250.0000 ms
MaxIterationCount=40 MinIterationCount=15 WarmupCount=1

| Method | Job | Toolchain | Mean | Error | StdDev | Median | Min | Max | Ratio | RatioSD | Allocated | Alloc Ratio |
|--------------- |----------- |---------------------------------------------------------------------------------- |---------:|----------:|----------:|---------:|----------:|---------:|------:|--------:|----------:|------------:|
| SpectralNorm_3 | Job-MJNEMQ | \runtime0\artifacts\tests\coreclr\windows.x64.Release\Tests\Core_Root\corerun.exe | 3.211 ms | 0.3935 ms | 0.6994 ms | 3.495 ms | 0.7539 ms | 3.627 ms | 1.28 | 0.83 | 5.29 KB | 1.01 |
| SpectralNorm_3 | Job-TCPSLQ | \runtime1\artifacts\tests\coreclr\windows.x64.Release\Tests\Core_Root\corerun.exe | 2.923 ms | 0.4708 ms | 0.8368 ms | 3.396 ms | 0.7014 ms | 3.513 ms | 1.00 | 0.00 | 5.24 KB | 1.00 |

### Run as admin

BenchmarkDotNet=v0.13.1.1694-nightly, OS=Windows 11 (10.0.22000.493/21H2)
Intel Core i7-8700 CPU 3.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
.NET SDK=7.0.100-alpha.1.21568.2
[Host] : .NET 6.0.2 (6.0.222.6406), X64 RyuJIT
Job-HAOWJK : .NET 7.0.0 (42.42.42.42424), X64 RyuJIT
Job-KLTELT : .NET 7.0.0 (42.42.42.42424), X64 RyuJIT

PowerPlanMode=00000000-0000-0000-0000-000000000000 Arguments=/p:DebugType=portable,-bl:benchmarkdotnet.binlog IterationTime=250.0000 ms
MaxIterationCount=40 MinIterationCount=15 WarmupCount=1

| Method | Job | Toolchain | Mean | Error | StdDev | Median | Min | Max | Ratio | RatioSD | Allocated | Alloc Ratio |
|--------------- |----------- |---------------------------------------------------------------------------------- |---------:|----------:|----------:|---------:|---------:|---------:|------:|--------:|----------:|------------:|
| SpectralNorm_3 | Job-HAOWJK | \runtime0\artifacts\tests\coreclr\windows.x64.Release\Tests\Core_Root\corerun.exe | 2.006 ms | 0.0923 ms | 0.1592 ms | 2.051 ms | 1.401 ms | 2.181 ms | 0.98 | 0.10 | 5.29 KB | 1.00 |
| SpectralNorm_3 | Job-KLTELT | \runtime1\artifacts\tests\coreclr\windows.x64.Release\Tests\Core_Root\corerun.exe | 2.064 ms | 0.0657 ms | 0.1167 ms | 2.079 ms | 1.759 ms | 2.256 ms | 1.00 | 0.00 | 5.27 KB | 1.00 |

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.