This is my scenario, which might help to make the decision.
its Not 4-5 months, I have waited for 8months.
After marriage it took 8 months to travel to canada with work permit. Then I updated IRCC that “currently I am living in canada”. Within 3weeks I got spouse documents request.
so IRCC is prioritizing the inland applications, so please land before marriage, don’t know how much delay it will happen after marriage.
Thanks for the update. This does help me make a decision! I too think it's safer to land before marriage since IRCC can be a bit unpredictable and it would be better if one of us gets there first and start working towards our career.