It may be possible the faster device has more CPU cores, but its single core is slower and the time critical process is running in a single thread on a single core.
Another option is, the computation speed is limited by intensive data manipulation and the device with slower CPU has faster data storage.