Baking time is not for a fixed scene

Hello,

I find that the baking time is not fixed for my scene. I am sure every setting is fixed and I’ve cleaned all GICaches before I hit Generate Lighting.

However, sometimes the “Compositing” step takes me very long time and sometimes it doesn’t take too much time. Why?

Thanks

It does make a difference whether the editor window is in focus or not while baking.