Performance comparison between Core i7-6900k and @Core i9-9900x using the following C ++ code.
void Function (BYTE * pdst, BYTE * psrc, BYTE dbit, BYTE sbit, int width, int height)
size = (INT_PTR) width * height;
for (i = 0; i <size; i)
if (* (psrc i) & sbit)
* (pdst i) | = dbit;
Compiler: VisualStudio 2010 64bit
PC1: i7-6900k Measurement value: 125ms
PC2: i9-9900x Measurement value: 225ms
Although PC2 has higher CPU specifications, it takes longer than PC1 and I am wondering. Why does it look like this?
Well, I would not support such a comparison, unless on identical platforms.
You can compare the two processors here:
The memory and the supported chipset are different between i7-6900k and i9-9900x, so the motherboard and memory are different, right? The same environment is impossible in the first place.
I guess that the two CPUs handle the code differently, but I want to know the clear difference.
if the chipsets and memory and motherboard are different, you are comparing apples and oranges.
That is the clear difference at this point.
Find a motherboard that supports both prcessors and test.