If you are trying to determine if it would be quicker or easier to fly to or from either of those places, it is. Sure, you could figure most of an hour to get to the airport, need to be there 1.5 to 2 hours ahead, then the flight, then an hour would get you to most any place on Santorini maybe a bit more for Heraklion.
But consider a ferry, you still have to get to the ferry port, about the same as getting to the airport, you do not need to be at the port way early, but figure a half to one hour before departure, then off loading on the ferry and getting transport is about the same as landing at an airport, so the difference is in the length of the ferry trip vs the flight plus with the ferry you may save an hour or so with security.
Anymore, I figure if a ferry is over 4 hours, a flight is worth looking into. A factor not considered is that there are fast ferries vs slow ferries. Fast ones seem attractive, but are very dependent on weather and sea conditions, possibly leading to a rough passage or even cancellation.
If the plan is to go both places, I would fly to Heraklion, do whatever itinerary, ferry to Santorini, enjoy your time, then I would still lean to flying back to Athens, but if you found the right ferry, one that makes stops, and you have plenty of time, bring a couple meals and some wine and have a slow boat back to Athens.