I don't really understand the question. Do you smoke at the moment? If so, then giving up (and switching over to vaping) will certainly improve your lung function over time. If nothing else, cutting your carbon monoxide intake through not smoking makes a huge difference.
If you neither smoke nor vape, but you were considering starting either smoking or vaping, and want to know if that will affect your running times. TBH, I would not bother. If you don't smoke or are not addicted to nicotine, don't start.
I started running to improve fitness and lose weight and so on well before I started vaping, was a fairly heavy smoker at the time. Since starting vaping (and for the most part, giving up smoking) there's been no immediate overnight change. However when I think back, I find now that I rarely have to stop because I'm out of breath, which I used to have to before. More often I have to stop because of pain or sheer exhaustion. I've never been worried about times because I'm not a competitive runner.