pull an all-nighter
Depriving yourself of sleep to do things that need to be done or you want to do, usually used for studying
Today I haven't been able to finish my homework and actually there's a lot left of it so I think I might have to PULL AN ALL-NIGHTER