Intel Core i5 8400H 's Advantages
Higher base frequency (2.5GHz vs 2.4GHz)
Lower TDP (45W vs 55W)
AMD Ryzen 9 7940HX 's Advantages
Released 5 years and 9 months late
Better graphics card performance
Higher specification of memory (5200 vs 2666)
Larger memory bandwidth (83.2GB/s vs 41.8GB/s)
Newer PCIe version (5.0 vs 3.0)
Larger L3 cache size (64MB vs 8MB)
More modern manufacturing process (5nm vs 14nm)