If your concern is just DPS... (one of these days someone will see the bigger picture....)
Then it really depends on your build.
I've tested my pure (Elf) Ranger on a training dummy, and I see very little difference between the time I can take it down ranged to the time I can take it down with melee.
This is because of the large doubleshot percentage I get ranged, and other things about my toons stats.
Yes, melee is faster than ranged. But there are many variables.
If you are beating on a stationary target (rare....very rare....) Then... usually.... melee does more DPS. (let's forget many shot for the time being...)
But damaging something at a distance is extremely powerful.
Add in two or more ranged toons to the group... and wow!
Also, those days of ranged toons not doing much DPS are really long past.
Yeah, it depends.
Many variables to builds.
Generally one can choose to make a melee toon to do more DPS than a ranged toon....because melee "is" faster.
But if you build for ranged, you may not do more DPS when meleeing.
And even the most powerful melee guy, still has to be able to get his weapons on target.... (and when playing with some ranged toons I know, that can be very difficult at times.
)
But sticking with the ops question, it really depends.
Go test your toon on a training dummy and see.
Mine came out real close to each other last time I tested her.
For me, it comes down to what style benefits the party right now...
or just which style do I feel like doing right now... (a lot easier to play ranged with one hand when the other hand is holding a slice of pizza....
)
Do I have agro?
Will he kick my butt if he gets his mitts on me?
Is he running from me?
Stuff like that.