We re-duplicate TemplateStyles to ensure we can render individual sections (for section editing on mobile), but this also means creating hundreds of non-empty style tags in things like a <references> list rendering, where each item has TemplateStyles from e.g. {{cite web}}.
Testing on a large-ish article ([[Argentina]]) total time spent rendering goes from ~1250ms to ~1600ms with all the extra <style> tags.