Improve the profile script, also profile the "nothing to do" build