Add performance logging