Both get a huge boost when you upgrade them to their max level.
Barbarians would mean a bigger meat shield. Giants from level 5-6 get a tremendous boost, they get many more HP and DPS.
upgrade them depending on how you use your troops. If you use the giants as meat shields and destroying defenses, upgrade giants. If you want more overall damage do barbs!
