GS Duration

Metric Description

The metric GS Duration represents the approximate total GPU time spent executing geometry shader code.  


  • If GS Duration is 50,000, it means that GPU spends around 50 milliseconds to execute geometry shaders for selected ergs.

  • If GS Duration is 0, it means that time spent in geometry shaders for selected ergs is very small or no geometry shaders were associated with selected ergs.

Improving Performance

If you are encountering performance issues and the GS Duration time is more than 20% to 40% of the total GPU Duration, geometry shader code optimizations may be needed.

Examine geometry shader code in the Graphics Frame Analyzer to see if optimizations are possible.

Refer to the HDG DirectX Developers Guide for recommendations on how to optimize the geometry shader.

See Also

GS Invocations
GPU Duration

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