Single core cpu performance.
echo 'int main() { double i = 0; for(i = 0; i < 5000000000; i++) { 20%7 * i; } }' > /tmp/test.c && gcc /tmp/test.c -o /tmp/test && time /tmp/test && rm /tmp/test.c && rm /tmp/test
NOTE: It's not 100% reliable since it differs depending on compiler version.
Platform CPU Time
MacBookPro15,1 (Mid 2018) i9 2.4 ghz 11.1
iMac15,1 (Late 2014) i7 4.0 ghz 11.7
PC (Early 2016, i5 4690k) i5 3.5 ghz 12.0