Goku likely wouldn't have been able to gauge Trunks' strength prior to that when the only thing he'd done prior was try to punch Goku immediately after waking up, at which point it didn't seem as though Trunks had adjusted himself enough to use his full power with how casually Goku blocked it despite them being about equal in the same form, as well as needing to hear Trunks tell him that he'd gotten a lot stronger than before rather than it being shown to him there. The context surrounding the Gohan comparison also seems to show Goku's amazement not just at Trunks' power, but him being able to get that far in general when considering Trunks doesn't have access to a lot of the training luxuries Goku and Vegeta have. something that can be inferred with how quick he was to show off SS3 to him.