RespawnTimeShower is a fabric client mod that will show you the time you took to respawn.
RespawnTimeShower now works for 1.19+