Performance-driven software model refactoring