The 386SLC had 815,000 transistors manufactured on a 1.2-micron process (1,200 nm).
The Ryzen 7040 has 25 billion transistors manufactured on a 4nm process.
That’s 30,000x more transistors on a much more power efficient process. There’s no real-world task where the Ryzen won’t perform many orders of magnitude better. Anything involving floating point must be millions of times faster because the 386SLC didn’t have an FPU at all whereas the Ryzen has wide SIMD and an integrated GPU.