Would a Federation warship like the Defiant out gun a Star Wars Star Destroyer? Who has a bigger armada? Who has the tactical advantage? Don’t forget that The Federation includes the Klingons, who love warfare and have fast, agile, heavily armed ships, with cloaking devices, and the Vulcans with superior logic and tactical planning.
Even if hyperdrives are faster, SW ships have no shields. As long as the planet they are wanting to blow up has teleporter stations they can just start beaming officers into space. It takes time to charge the planet killing laser.