NVIDIA ShaderPerf is a command-line shader profiling utility and C API that reports detailed shader performance metrics for a wide range of GPUs.
ShaderPerf wokrs with GLSL vertex and fragment programs, HLSL vertex and pixel shaders and Cg shaders.
ShaderPerf 2.0 includes several new features:
* GeForce 8 series support
* Pixel Shader Differencing
* Vertex Shader Analysis
ShaderPerf outputs the following for any shader that you analyze:
* Cycle count
* Register usage
* Driver-optimized shader instruction list
* Vertex and pixel throughput estimates
More information and download HERE.