PowerShell: Windows Performance Benchmarking

There are many 3rd party performance benchmark tools for Windows 10. Out of convenience, PowerShell can gather this information rather quickly so that it would save a geek some time in downloading and learning other tools.

# Check if score has already been collected prior
PS C:\Windows\system32> Get-CimInstance Win32_WinSat
CPUScore              : 0
D3DScore              : 0
DiskScore             : 0
GraphicsScore         : 0
MemoryScore           : 0
TimeTaken             : MostRecentAssessment
WinSATAssessmentState : 3
WinSPRLevel           : 0
PSComputerName        :

# Trigger new performance scoring
PS C:\Windows\system32> winsat formal
Windows System Assessment Tool
> Running the Formal Assessment
> Running: Feature Enumeration ''
> Run Time 00:00:00.00
> Running: Media Decode/Encode Assessment '-input C:\Windows\Performance\WinSAT\winsatencode.wmv -encode C:\Windows\Performance\WinSAT\winsat.prx'
> Run Time 00:00:02.75
> MOOBE Run Time 00:00:03.39
> Running: CPU Assessment '-encryption -up'
> Run Time 00:00:03.09
> Running: CPU Assessment '-compression -up'
> Run Time 00:00:10.06
> Running: CPU Assessment '-encryption2 -up'
> Run Time 00:00:10.08
> Running: CPU Assessment '-compression2 -up'
> Run Time 00:00:10.11
> Running: CPU Assessment '-encryption'
> Run Time 00:00:03.16
> Running: CPU Assessment '-compression'
> Run Time 00:00:10.20
> Running: CPU Assessment '-encryption2'
> Run Time 00:00:03.20
> Running: CPU Assessment '-compression2'
> Run Time 00:00:10.27
> Running: System memory performance assessment ''
> Run Time 00:00:05.22
> Running: Storage Assessment '-seq -read -n 0'
> Run Time 00:00:01.53
> Running: Storage Assessment '-ran -read -n 0'
> Run Time 00:00:00.16
> Run Time 00:00:00.00
> CPU LZW Compression                          393.82 MB/s
> CPU AES256 Encryption                        1162.28 MB/s
> CPU Vista Compression                        1004.35 MB/s
> CPU SHA1 Hash                                1134.02 MB/s
> Uniproc CPU LZW Compression                  99.84 MB/s
> Uniproc CPU AES256 Encryption                290.03 MB/s
> Uniproc CPU Vista Compression                251.14 MB/s
> Uniproc CPU SHA1 Hash                        304.57 MB/s
> Memory Performance                           17265.48 MB/s
> Video Memory Throughput                      1257.62 MB/s
> Dshow Video Encode Time                      1.85850 s
> Media Foundation Decode Time                 0.99312 s
> Disk  Sequential 64.0 Read                   524.60 MB/s          8.1
> Disk  Random 16.0 Read                       444.31 MB/s          8.2
> Total Run Time 00:01:10.70

# View Scores after recent benchmarks
PS C:\Windows\system32> Get-CimInstance Win32_WinSat
CPUScore              : 7.6
D3DScore              : 9.9
DiskScore             : 8.15
GraphicsScore         : 3
MemoryScore           : 7.6
TimeTaken             : MostRecentAssessment
WinSATAssessmentState : 1
WinSPRLevel           : 3
PSComputerName        :

Leave a Reply

Your email address will not be published. Required fields are marked *