All nighters are great for paper writing. They are also good as refreshers. Most people who do all nighters to actually learn the material usually do poorly imo.
I'm always nervous no matter how much I really know the material, so I end up pulling quasi all-nighters often.
My grades usually look like mountain ranges. It also helps that I'm old and pretty boring compared to your avg. student.