Intel Core i5 9400 's Advantages
Integrated graphics card
Larger L3 cache size (9MB vs 4MB)
AMD Ryzen 3 4100 's Advantages
Released 3 years and 3 months late
Higher specification of memory (3200 vs 2666)
Newer PCIe version (3 vs 3.0)
Higher base frequency (3.8GHz vs 2.9GHz)
More modern manufacturing process (7nm vs 14nm)