An Empirical Study of Selective Optimization