Here’s a pro tip: sleep a lot the day before, and ideally the day before that too. On the important night don’t exhaust yourself with gaming or whatever, but don’t force it. You’ll end up sleeping maybe 4h, but if you slept well the previous two days, you’ll be fine.
Sleep deprivation only really shows over prolonged periods of time. You can ace a lot of tests with the above method.