A method for using profiling to obtain application-specific, preferred parameter values for an application is disclosed. First, a parameter for which to obtain an application-specific value is identified (301). Code is then augmented for application-specific profiling of the parameter (302). The parameter is profiled and profile data is collected (303). The profile data is then analyzed to determine the application's preferred parameter value for the profile parameter (304, 305).