Mesmer leveling build
I’m no expert, but I think sword/pistol + greatsword with full zerker is pretty much the best for leveling? Summon phantasms, hit blurred frenzy, Mind Wrack when your target is almost dead. Should be able to kill any mobs quickly. As for traits, domination and dueling are pretty obvious. Maybe get Inspiration or Illusions later on for their boosts to phantasms or survivability.
Check this out https://forum-en.gw2archive.eu/forum/professions/mesmer/Lazy-Kai-s-Guide-to-PvE-Leveling-Guide-Update
Anything I post is just the opinion of a very vocal minority of 1.