Fwiw that job we had an explicit goal of 60 minutes or less and tested that against engineers we’d already hired.
I’ve heard guidance that said up to 4 hours was a fine. That might have been true back then before employers abused the system and made code tests just another hoop, not a replacement for, interviewing.