Experimentally turning off some accounting to check performance impact.
(cherry picked from commit 2b8478d9e1dc333b01f83358eaf826a7aa442226)