what factors will affect the build time

Hi~
I wonder what factors will affect the build time
1.light map res?
2.triangles?
3.mesh size?
4.the light that affects the mesh?

I looked at some of the most time-consuming objects, but I didn’t find any rules.So create this topic,ths~~

Ths for your reply.I list the top three objects for the longest bulid time
NO 1: Light bulid time:6685s——Triangles:79—— Light map resolution:700——Number of material ID:1
NO 2: Light bulid time:6684s —— Triangles:1360—— Light map resolution:220——Number of material ID:7
NO 3: Light bulid time:6677s —— Triangles:28819 —— Light map resolution:220—— Number of material ID:19

And then I list an object that has a shorter build time.
NO 71: Light bulid time:1604s—— Triangles:77592 —— Light map resolution:508—— Number of material ID:17

I really can’t see any rules from them, why the difference is so big.