We found time cost of complex behaviour in spider web building.
Thread-laying speed was lower in complex than simple webs.
We also found an ecological implication of complex behaviour.
Spiders built less complex webs after being exposed to predator stimuli.
Time cost of complex behaviour mediates food–safety trade-offs.