some aircraft accelerate so well that a rate of climb helps reduce the acceleration rate
More a case of how long the flap retraction sequencing takes and the speed delta for the clean up. On some aircraft, it takes forever and a day .. on others, it all happens fairly smartly.
AFM guidance will match it all up for the crew.