its written to the drive, but the main bottleneck is cpu speed, since it only seems to lag for me when recording things which use alot of CPU. like physics. if i record my game without physics going on theres no lag, once the physics turns up things get choppy
i doubt ram or write speed will be the problem.
try it out tho, it works wonderfully