ENH: Use warnings.warn with PerformanceWarning