Runtime compared between x86 and raspberry pi4

I have tried to implement a network on x86 cpu and pi4. Have measured the runtime in both. It’s seems to work but the weird part is pi4 seems to be 100% faster than X86 cpu. But the frequency of x86 is bigger than pi4. Anyone know why there this big difference in runtime.

Also have used same core numbers on both systems