I know from my own experience, on both an LC and a IIsi, that a 68040 upgrade is extremely limited.
I can’t remember the exact multiplier, but let’s say a 68040 is something like 3-4x a 68030 at the same clock speed.
In my experience the speed up using a 25mhz 68040 upgrade on an LC resulted in about 2x performance from the stock 16mhz 68020.
On the IIsi, using a 40mhz 68040 upgrade, it was about 2-2.5x the IIsi stock speed. That was with integrated video, though. The 68040 being twice as fast already (40mhz vs 20mhz), plus an estimated 3x performance increase for the same clock, should see 6x 20mhz performance, but it’s no where near that.
So it seems the whole rest of the system has some inefficiencies which result in the upgrade not performing to the full CPU potential.
Which would then make sense that a 68040 upgraded IIci would feel about 2x faster than a stock IIci, or about 50mhz, but in some ways that “50mhz” would have spikes and drops which the stock 40mhz IIfx would “smooth out”.
It’s the reason I don’t really care to have CPU upgrade cards in any of my vintage Mac’s, and instead just have a faster one if I want faster speed.