couldn't it be your clutch slipping, if in first everything is ok but second its nearly not moving i would suspect the clutch instead of the engine.
Or might be a vac leak aswell.