It’s different for everyone. It can take a day or five days for smegma to accumulate beneath the foreskin.
Just because you have a slow buildup doesn’t mean you shouldn’t clean regularly.