Antipattern-based model refactoring for software performance improvement