CS Duration

The CS Duration metric represents the total amount of time the GPU spent executing compute shader code.


  • If CS Duration is 50,000 it means that the GPU spent 50 milliseconds executing compute shader code for the selected ergs.
  • If CS Duration is 0 it means that either the time spent executing compute shader code was negligible, or there was no compute shader in use.

Improving Performance

If CS Duration is larger than you expect, you can examine your compute shader code in the Graphics Frame Analyzer to investigate possible optimizations.

For more complete information about compiler optimizations, see our Optimization Notice.