Python 3 versus Node js fastest performance Always look at the source code. If the fastest programs are hand-written vector instructions, does the host language matter? You might be more interested in the less optimised programs — more seconds, less gz source code. fannkuch-redux source secs mem gz cpu secs Node js #5 11.08 81,124 1313 43.87 Python 3 #6 913.87 11,080 385 913.83 Python 3 #4 285.20 14,264 950 1,123.47 n-body source secs mem gz cpu secs Node js #6 8.41 45,908 1268 9.39 Python 3 383.12 11,096 1196 383.11 Python 3 #2 402.59 11,096 1242 402.57 spectral-norm source secs mem gz cpu secs Node js #7 5.36 46,704 414 5.37 Node js 5.44 47,212 319 5.45 Node js #6 1.66 88,700 999 6.10 Python 3 #8 78.36 15,704 407 311.22 Python 3 #6 315.69 11,200 328 315.68 Python 3 #7 89.17 15,516 417 352.71 mandelbrot source secs mem gz cpu secs Node js #3 4.03 118,432 1122 15.92 Node js #2 28.20 53,644 416 28.23 Node js 130.80 49,372 373 130.71 Python 3 #7 155.28 14,244 688 616.01 Python 3 #2 Timed Out Python 3 #5 Failed pidigits source secs mem gz cpu secs Python 3 #3 1.25 13,564 567 1.25 Node js #4 1.26 49,328 481 1.28 Python 3 #5 1.39 11,428 363 1.39 Python 3 #4 4.21 11,096 342 4.21 Node js #2 12.95 78,356 397 12.97 Node js #3 13.09 78,112 424 13.11 regex-redux source secs mem gz cpu secs Python 3 #2 1.38 168,144 1403 2.65 Node js #3 4.51 768,724 668 5.58 Node js #4 5.76 991,704 463 5.93 Python 3 8.02 460,684 512 14.90 fasta source secs mem gz cpu secs Node js #5 2.20 94,408 2047 6.32 Node js 33.14 54,432 809 33.43 Python 3 #2 49.99 11,088 1121 49.99 Python 3 #3 50.28 11,088 1003 50.27 Python 3 58.84 11,092 817 58.84 Python 3 #5 33.40 827,232 1947 61.49 k-nucleotide source secs mem gz cpu secs Node js #3 15.72 416,500 1812 43.32 Node js #2 37.55 486,856 935 116.51 Node js 40.21 518,808 1008 117.96 Python 3 #3 44.13 262,348 1967 165.01 Python 3 58.56 379,464 607 211.98 Python 3 #8 69.21 505,836 655 214.24 reverse-complement source secs mem gz cpu secs Python 3 #3 4.96 508,412 796 4.95 Python 3 #5 3.72 1,500,212 954 6.76 Python 3 8.53 1,986,544 479 8.53 Python 3 #2 8.58 1,788,056 434 8.58 Python 3 #6 6.17 2,484,084 814 9.23 Python 3 #4 12.04 4,002,656 335 12.04 Node js #2 15.94 731,396 1221 16.58 Node js #7 Bad Output binary-trees source secs mem gz cpu secs Node js 6.37 1,295,776 711 19.51 Node js #6 8.22 1,257,276 744 24.87 Node js #7 33.78 1,135,992 451 38.12 Python 3 #2 104.73 271,980 338 104.72 Python 3 #5 35.33 274,884 660 125.79 Python 3 #4 34.53 276,752 472 125.93 Python 3 35.93 276,952 589 126.44 Python 3 #3 50.99 672,016 1238 142.94 Python 3 Python 3.11.1 Node js build 19.0.1+10-21 all Python 3 programs & measurements all Node js programs & measurements