Ben's

performance of different scripting languages: shell v. perl v. python v. ruby 본문

리눅스/python

performance of different scripting languages: shell v. perl v. python v. ruby

Ben Ko (SINCE 2013) 2013. 1. 22. 15:13
728x90

http://opennomad.com/content/performance-different-scripting-languages-shell-v-perl-v-python-v-ruby

 

Results

To be honest, I was surprised at the results. I ran the tests 3 times and took averages. The data can be viewed at Google Docs Performance of Scripting Languages with the raw results in their owns sheets. Here is the summary table, but the google doc looks crisper.

.

Shell Perl Python Ruby

.

sort 1.89 0.73 0.72 1.48

.

sort 10x 16.67 8.69 5.89 24.15

.

sort 20x 37.37 33.09 17.34 602.41

.

sort 50x 112.68 601.11 70.76 601.80

.

md5 38.60 1.63 2.35 0.38

.

text replace 2.90 1.50 5.11 2.98

.

http get 9.81 5.56 1.45 2.36

.

Sum 219.92 652.31 103.61 1,235.55

.

Average 31.42 93.19 14.80 176.51

'리눅스 > python' 카테고리의 다른 글

port check python script  (0) 2013.01.21