Improve performance of operation stats.