It might not run "The whole layout", as layout is quite complicated process which has many steps, it worth to make a separate article.
What can happen: the layout of the changes code has done + recalculate all "shifting" in the elements.
The simplest way to see it:
- Open you browser dev tools
- Go to Performance Tab
- Start recording
- Open a website (or make some actions on opened page)
- Stop recording
- Open "Event log"
Scroll to function call which makes Layerise step. Example:

Select it on a timeframe to see the calculations