It’s not magic, but it is non-linear. The most noticeable threshold is when you use up your glycogen and shift into ketosis. Apps will put a specific hour on that, but it depends on how much carbohydrate you’ve been eating and how much energy you’ve been consuming, on top of individual variation.
Changes to hormone levels and the corresponding effects (e.g., hunger signal regulation from Insulin/Leptin/Ghrelin regulation) are very personal, as would be the effect on insulin resistance, for example. For weight loss, those are going to be the important factors, and you basically need to self-experiment to see what works for your body with its unique history and gut biome, the foods you eat, your activity level and timing, sleep cycles, and whatever other variables there might be.
For fitness/hypertrophy, it’s a similar question with growth hormone (somatotropin) production, but IIRC that doesn’t really kick in until the 36-48-hour range.
Autophagy is much harder to measure or notice, and there are different kinds; macro-, micro-, lipo-, mito-, etc., which occur on different timescales and triggers. For that aspect, I think the benefits start around 18 hours, but don’t really become significant until after 24.