This is the case with ryzen cpus.
I think Ryzen CPU are more optimised to work with faster RAM, so access times with fast RAM are better with Ryzen then they used to be with other CPU but the fact is pure CPU performance still isn't affected by RAM speed.