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