moved PerformanceBar from lib to cls