Refactoring benchmark