The Secret Triwizard Challenge

That spider knows enough about your location to find you, and you are NOT waiting for that to happen. You take off for the exit.
The spider shrieks and sprints after you as fast as it can on jelly legs, which is, unfortunately, surprisingly fast. You're not sure if you can make it to the exit in time. What do you do?