Fixed #20760 -- Reduced timing variation in ModelBackend.

Thanks jpaglier and erikr.