Add mayah_ai_performance_test and refactoring for it.