Intel Core i5 6400 's Advantages
Integrated graphics card
AMD Ryzen 5 8400F 's Advantages
Released 8 years and 8 months late
Higher specification of memory (5200 vs 2133)
Larger memory bandwidth (83.2GB/s vs 34.1GB/s)
Newer PCIe version (4.0 vs 3.0)
Higher base frequency (4.2GHz vs 2.7GHz)
Larger L3 cache size (16MB vs 6MB)
More modern manufacturing process (4nm vs 14nm)