Python vs Javascript
Dec. 27th, 2009 03:36 pmDesktop, Athlon 64 X2 2.3GHz:
js/firefox 0.03 seconds c/gcc 0.07 js/chrome 0.33 py2+psycho 0.35 py3 2.59 js/opera 2.78 js cscript 3.06 py2 3.23 perl 3.36 js/ie8 4+ ruby 7.77 rebol 7.89Netbook, Atom n270 1.6GHz:
js/chrome 0.73 (2.2x) js cscript 5.34 (1.7x) py3 5.42 (2.1x)I just wanted to compare two langs and two comps. The program calculates Mandelbrot figure. ( py src )