You should also profile `attach`