The listed atmospheric maximum speed of the T-65B X-wing Starfighter in Star War's own published lore is 1050 kph or 652 miles per hour. That's roughly the speed of an F86 Saber of the Korean War (679mph).
Face it, the Star Wars universe physics are flat out slow-mo. When you can block blaster fire with swords (or simply duck after the trigger is pulled), you are at a huge disadvantage with the speed of modern warfare.
The T-65B X-wing starfighter, also known as the T-65 X-wing starfighter or T-65B space superiority fighter, was a single-seat craft manufactured by Incom Corporation and used most famously by the Alliance to Restore the Republic during the Galactic Civil War. Renowned for its speed and...
https://starwars.fandom.com/wiki/T-65B_X-wing_starfighter