Well thisnquestion depends on several factors; some involving the surgery, your oral health, usual bodily healing process.
Normally and nominally though the swelling should last 48-72 hours more or less. I wouldn't worry for the time being. If you're going on a week go back to the dentist, as you may have infected gums.