100+ Benchmarks Of Amazon's Graviton2 64-Core CPU Against AMD's EPYC 7742
For code compilation performance, the EPYC 7742 performance was across the board faster than the Graviton2.
Besides the CPU performance itself, for some workloads it's also contingent upon how well the software has been tested/optimized upstream for ARMv8.