Should I use the foliage tool or materials?

If I want to make Grass for example in my Level, should I make a Grass mesh and Paint it with the Foliage tool? I saw some people having a material for enviroment like flowers and grass? What is better for Performance or doesnt it really matter? And what about Trees?