Something holding back GPU to 30fps

I am building from source so I can very easily drop in breakpoints if that helps.