This is a very broad question, and there is no single simple answer. LinearLayout is usually simpler (and therefore faster) than RelativeLayout, but LinearLayout has a problematic case if you insert several of them into each other, with weights on the same axis. Then it must iteratively divide the space, and this takes many passes of the layout (so bad that there was no warning about this).
Even when you avoid this case, then with LinearLayouts nested you will still have a deeper hierarchy of views compared to using RelativeLayout, so while LinearLayout is faster, which at some point balances.
, , : , , .