I applied for child passport for my newborn 6 weeks and 5 days before scheduled international trip. Standard processing time is six weeks, including one week for postal delivery, and the Australian Passport Office indicates on their website that 97% of applications are delivered within six weeks. Chose in-person collection rather than postal delivery to avoid possibility of mail delay. Wrote on the application that I needed the passport by six weeks and five days due to planned travel.
When I lodged at the post office, the person mentioned that if the passport is not ready two weeks before my planned trip, I could call the passport office and pay for expedite. Didn't think too much about that at the time . . . .
At five weeks, when the application status page originally said the passport should be ready for collection, the application get updated to say "your application has been delayed." Call the passport office, and person is completely unhelpful except to say that if I wanted the passport to be ready on time, I could pay for an expedite.
At five weeks and two days, call back again. Person on the phone says my application all looks good, the photos all look good, but no idea when it would be done. Again, if I wanted to be sure the passport would be ready on time, I could pay for an expedite.
At five weeks and 4 days, call back again. Same message.
At five weeks and 5 days, at 4pm (passport office closes at 5pm), call back again. Person on the phone says that it is unlikely the passport would be ready in time without expediting. Pay for the expedite on the phone.
Next day at 9:20am. Get email that passport is ready for collection.
Edit: Getting a lot of pushback, so I'll just make two points. (1) I think the chance of all these things happening just by coincidence is close to zero. (2) Even if you think coincidence is likely, it is obvious that putting your travel date does not help in any way (they will not try harder to meet their published six week deadline just because you have travel close to that date), and it can hurt you if they deliberately hold your application up to extort a expedite payment. So if you have travel planned, just submit the application without the travel date and expedite if necessary, but don't open yourself up to blackmail like I did.