The Computer Language
Benchmarks Game

all C gcc programs & measurements

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609

source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 708 1208 0.21 5% 13% 5% 96%
n-body  #3 2.12  5,000,000 692 1208 2.12 2% 1% 0% 100%
n-body  #3 21.16  50,000,000 752 1208 21.16 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #4 0.10  500,000 ? 1490 0.10 9% 0% 0% 100%
n-body  #4 1.01  5,000,000 636 1490 1.00 1% 1% 1% 100%
n-body  #4 10.01  50,000,000 740 1490 10.00 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 648 1173 0.21 9% 0% 0% 95%
n-body  2.10  5,000,000 648 1173 2.09 0% 1% 1% 100%
n-body  20.89  50,000,000 748 1173 20.88 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #6 0.22  500,000 656 1180 0.21 0% 9% 0% 100%
n-body  #6 2.09  5,000,000 752 1180 2.08 1% 0% 1% 100%
n-body  #6 20.81  50,000,000 756 1180 20.80 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 556 1429 0.21 5% 0% 0% 100%
n-body  #5 2.10  5,000,000 544 1429 2.09 1% 1% 0% 100%
n-body  #5 20.88  50,000,000 556 1429 20.87 1% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 632 1263 0.23 5% 4% 4% 100%
n-body  #2 2.28  5,000,000 712 1263 2.28 2% 2% 0% 100%
n-body  #2 22.77  50,000,000 708 1263 22.76 0% 1% 0% 100%