>>754There was some research on this topic
Military used modafinil to see if people would preform normally.
Small doses(about 5 grams if I remember correctly) administrated every 8 hours helped soldiers to stay awake and ready for 5 days.
I can't seem to find the original source, but if there is an idea, the military is first to test it.