bioRxiv2026
The time it takes organisms to reach adulthood is often considered a central life-history trait that influences fitness and is highly plastic across environments. Despite its importance, direct estimates of how selection on development time varies across combinations of environmental stressors remain rare, limiting our understanding of its role in population responses to environmental change. We reared 68 full-sibling families of the vinegar fly, Drosophila melanogaster, at two temperatures (14{degrees}C and 28{degrees}C) on two diets (standard and low-calorie), and measured development time, body size (mass and wing size), egg-to-adult viability and productivity (number of offspring). Temperature caused the largest plastic response, with development taking 4-5 times longer at 14{degrees}C, whereas the low-calorie diet extended development by 20-30%. Yet diet, not temperature, changed directional selection on development time. On the standard diet, faster development was associated with higher fitness at both temperatures. On the low-calorie diet, this advantage disappeared, and at 14{degrees}C slower-developing females tended to produce more offspring. Viability selection showed consistent patterns. The low-calorie diet also increased evolvability in development time c.10-16-fold at both temperatures, and genetic correlations between diets were close to zero, indicating strong genotype-by-environment interactions. Plasticity in development time was not associated with fitness in any treatment. Overall, we provide evidence that development time is a functional trait whose relationship with fitness depends on the environment. Nutritional stress induced a smaller plastic response in development time than temperature, but had a larger effect on directional selection and evolvability. The stressor causing the greatest plastic change in a functional trait is therefore not necessarily the one that shapes its selection and evolution.