Pascal Free Pascal programs versus C++ g++ by benchmark task performance pidigits source secs mem gz cpu cpu load Pascal Free Pascal 1.73 2,428 530 1.72 0% 2% 100% 1% C++ g++ 1.88 4,276 513 1.88 0% 100% 1% 0% fannkuch-redux source secs mem gz cpu cpu load Pascal Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100% C++ g++ 10.61 2,044 980 41.90 100% 96% 100% 100% spectral-norm source secs mem gz cpu cpu load Pascal Free Pascal 3.98 1,980 542 15.81 99% 99% 99% 99% C++ g++ 2.02 1,332 1044 7.91 99% 99% 99% 99% regex-redux source secs mem gz cpu cpu load Pascal Free Pascal 3.81 102,432 1503 5.24 19% 90% 15% 14% C++ g++ 1.61 203,572 1315 4.18 100% 52% 57% 54% reverse-complement source secs mem gz cpu cpu load Pascal Free Pascal 8.32 509,364 771 8.31 100% 0% 0% 0% C++ g++ 3.08 980,604 2280 4.66 62% 25% 12% 54% n-body source secs mem gz cpu cpu load Pascal Free Pascal 22.35 8 1325 22.34 0% 0% 0% 100% C++ g++ 8.23 1,856 1763 8.23 100% 1% 1% 0% fasta source secs mem gz cpu cpu load Pascal Free Pascal 10.85 8 1140 10.85 100% 0% 1% 0% C++ g++ 1.35 1,952 2711 4.18 79% 78% 78% 79% mandelbrot source secs mem gz cpu cpu load Pascal Free Pascal 14.62 30,016 845 58.40 100% 100% 100% 100% C++ g++ 1.51 25,704 1791 5.99 99% 100% 100% 100% binary-trees source secs mem gz cpu cpu load Pascal Free Pascal 36.42 262,180 715 36.40 100% 1% 1% 0% C++ g++ 2.55 135,568 809 7.99 85% 96% 69% 66% k-nucleotide source secs mem gz cpu cpu load No program contribute your program C++ g++ 0.41 740 1276 0.73 30% 38% 93% 28% Pascal Free Pascal Free Pascal Compiler version 3.0.4 [2017/10/03] for x86_64 C++ g++ g++ (Ubuntu 7.2.0-8ubuntu3) 7.2.0 vs C++ vs Java