Performance of an optically read out time projection chamber with ultra-relativistic electrons