My conception of what the government does that is worthwhile, in the abstract, is that it lowers transaction costs, enabling free markets to function a la Ronald Coase's theorem. This is what the private sector is always fighting, what requires regulation. It's like entropy. This is ultimately what makes a modern civilization different from a stone age one.
So measuring productivity in the usual manner and comparing it with the private sector is a non sequitur to me. The benefits aren't booked as revenue or profit.