Intel Core i5 9400 's Advantages
Lower TDP (65W vs 150W)
Intel Core i9 12900KS 's Advantages
Released 3 years and 3 months late
Better graphics card performance
Higher specification of memory (4800 vs 2666)
Larger memory bandwidth (76.8GB/s vs 41.6GB/s)
Newer PCIe version (5.0 vs 3.0)
Higher base frequency (3.4GHz vs 2.9GHz)
Larger L3 cache size (30MB vs 9MB)
More modern manufacturing process (10nm vs 14nm)