If a rocket flies to any object using a direct ascent it is best for it to reach the needed speed as soon as possible because of the Hohmann effect. When it launches from the ground there is air resistance meaning it is best to have it accelerate slower at the beginning of its flight. The acceleration would probably look something like this
What is the best acceleration rate for a direct ascent to the moon?
Links: https://what-if.xkcd.com/24/