Beat the game. This includes only the "first quest" and does not require any gameplay after rescuing Zelda for the first time.
Timing starts at gaining control of Link. (time from file select to gaining control of Link is 1.84 seconds)
Timing ends when you lose control of Link in the room with Zelda.