During debug i call glgetError almost after each gl-functioncall, and most of my programs are GPU / transfer speed bound so i dont get any speedup when i remove them. I bet its atleast 1000 of them per frame. But if youre cpu-bound then all optimizations might help.