spring profile optmization