Naming Characters

Is it better to write out a storyline and personality before naming, or is it better to name the characters first?

Normally I name characters, but I’m wondering if the quality of my writing will improve if I leave the task of naming them to be the last thing I do.

What do you guys normally do?