Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.28 KB

File metadata and controls

32 lines (22 loc) · 1.28 KB

GpuDecompressionBenchmark

This sample provides a quick way to see the DirectStorage runtime decompression performance by reading the contents of a file, compressing it and then decompressing multiple ways while measuring the bandwidth and CPU usage. Decompression is performed using the GPU as well as the CPU for comparison.

GpuDecompressionBenchmark Render

The benchmark results will be copied to the clipboard, and ready to paste into this Excel document which will render graphs like the following.

GpuDecompressionBenchmark Bandwidth Graph

GpuDecompressionBenchmark ProcessCycles Graph

Build

Install Visual Studio or higher.

Open the following Visual Studio solution and build

Samples\GpuDecompressionBenchmark\GpuDecompressionBenchmark.sln

Usage

Example usage

Samples\GpuDecompressionBenchmark\x64\Debug\GpuDecompressionBenchmark.exe SomeDataFile.ext

Related links