Jp: Depends on the dog and the situation. A properly trained dog is going to be on the burglar before he knows it.
My dad used to joke that if you could get past the dogs, he’d help you carry the TV and stereo out to your car.
I never recommend a weapon for home defense, because, statistically speaking, you have a better than average chance of that gun being turned on you. Have a decent alarm and a dog, and call 911 when they both go off.