This title and question and your answear to the question you asked has more than 1 meaning.
This is how i look at the 2 classes:
Both Guardian and Warrior have:
-heavy armor
-regen
-can be bursty and even condy now
-can be tanky
-have lots of condy clenses
Guardian has/can have:
+more utility and boons to offer to himself as well as to the entire party
+more “spamable” aoes (symbols)
+more ways to heal himself and others
+more ways to block, protect himself and others
Warrior has/can have:
+waaay higher health pool than a guardian can (even with the guard trate)
+superior health/second (HS,adrenal health,vigorous shouts)
+superior offensive buffs for himself and everyone around him
+better bursty/sustained dps?
+more imunity to damage/condies
+8s cd for counterblow block (1 attack) and 12 s cd for riposte blocking(1 melle attack OR infinite ranged attacks) as well as 24scd blocks on shields (all attacks).
*Note that you can stand in front of someone with riposte or shield stance and block all projectiles this way
-banner of discipline,strength and empower allies give party wide +320power +170prec,con dmg, ferocity and can be “moved” along with the players.
*Also constant might stacks from Phalanx strength.
*Also 3 signets that grant +180power/prec/tough to self
+Lots of movement skills, leaps,dashes, 25%MSp trait
I probably missed something for someone but lets get back to the question now that we have a small list of things that both can do and what can one do better than the other.
Whos doing solo better in pve?
I assume we are talking just general open world leveling,events and farming (dungeons arent solo….and pve and wvw isnt pve)
when it comes to damage i believe warrior can kill mobs faster, even an elite, as well as a large group of monsters at the same time. The large health/s, health pool,tons of power and fast ways to kill groups of mobs just make him better at current pve
Guardians can tag more mobs at once cause of symbols and staff 1.
They can also burst down elites and groups of enemies but it feels that the rotations are much slower than on warriors.
In case of a tough time, or a time where a guard/warrior has to fall back or heal or is low on health and has to do something about it we have these scenarios:
Guardians will most likely:
+pop all 3 virtues and go into renewed focus and start spamming skills that grant healing/regen and also rely on their virtue of resolve passive to get them back in shape.
+Those main things have great singergy with their traits that grant numerous boons as well as more healing (AH)
+They spend this time healing,but also dmging the enemies around (symbols heal and grant boons as well as deal dmg)
-However during this period they will enter in a new rotation of defense and self healing, and their dps will run low
Warrior will:
+Use his passive regen/high health as well as some traited skills from the start of the fight to sustain himself trough the entire fight, from start till end
+This allows him to focus on damage the entire time
+In case things go very ugly,he can disengage the fight and get back in withing seconds,again because of his superior health/s
-He deals no damage most of the time within those few seconds of disengaging
Another note to look at is the downed state
Guardians will:
+Try to focus on 1 target with lowest health, their skill 1 can hit 3 targets
+Has a “back off all of you” skill to give himself a bit more time untill…
+…He activates signet of judgement. It heals the guardian and also deals nice aoe dmg around him that should kill off a enemy and rally him
+If not it might give him enough health back to bandage himself within seconds
-If that doesnt work….well…its kinda over for him..unless he is able to try that again
Warriors will:
-Throw rocks at the closest enemy (its a physical projectile, cant get pass the big guy to hit the small guy behind it that has low health)
-/Has a 2s knock down, nice to delay his 3rd skill..but also works only on a single closest target
+/Vengeance makes you rally for 15s during which you may use all your normal skills to take down everyone around you. has a 25% (100% traited) to fully rally you when you kill someone.
*Vengeance is like being in a downed state but able to use all of your skills and move around freely.
Now about the actual “gameplay”:
I played both of them for a long time and ill be telling about my exp with them in pve:
Guards:
+Standard bursty rotations with staff to give me swiftness for moving around
+if things get hard i go defensive rotations with healing/boon skills
+if i go down while overwhelmed i mostly go down for good.
Warriors:
+"standard" bursty rotations supported by tons of power ,might and prec
+most of the time it takes longer to get to the “hard times” due to the fact that im constantly healing my self for quite a lot
+if things do get bad i back off,kite and wait till i have enough health to engage again and finish them off
+if i get downed while overwhelmed i still manage to activate vengeance and im mostly able to kill and rezz my self
NOTE:
Warriors are very simple. They deal dmg and buff allies with simple stats. Sometimes they also clense condies and buff their offensive abilities.
Guardians are a hybrid. They go melee range but use magic to attack as well as defend,buff and share boons, condi clense and protect with wards that enemies cant pass. They can also summon spirit weapons (yeah), teleport them selfs, reflect projectiles and give permanent aoe protection.
This makes the guardian more complex, party oriented as well as simply more interesting than the warrior…but we are talking about comparing how guards and warriors face the entire pve world on their own….
PS: I was doing a “leveling trough the shiverpeaks with 0 deaths challenge” (i made it up for my self) and at one point i got under leveled. I was doing it with a norn guardian and i can tell the enemies get quite brutal and i really did use all my blocks,heals and blinds in order to bring them down. I dont know if i could have made it with a warrior..tho i didnt check.
PPS: This is a thing where you are facing mobs that are 3-5+lvls above you. Once you get to lvl 80 there arent many areas in the game that has such things…