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