Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- CPU
- http
- 디스크
- 리눅스
- rm -rf
- PERL
- goaccess
- apachetop
- 좌절교육
- rsync
- rm
- 칭찬교육
- cadre
- Performance
- Cache
- ext3
- Hack
- pid
- ext4
- Linux
- Disk
- 솔라리스
- PORT
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- Kernel
- Python
- iptables
- Bash
- windows
- DNS
Archives
- Today
- Total
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:13728x90
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 |
---|