일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Hack
- pid
- PERL
- apachetop
- Disk
- CPU
- rm
- iptables
- http
- Cache
- 좌절교육
- goaccess
- 솔라리스
- rsync
- 리눅스
- 칭찬교육
- cadre
- windows
- ext4
- Linux
- ext3
- DNS
- rm -rf
- Bash
- 디스크
- PORT
- Performance
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- Kernel
- Python
- Today
- Total
목록Python (2)
Ben's
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..
#!/usr/bin/python # # 08/07/20 system team nhko # from httplib import HTTP import urllib import httplib def error(msg) : params = urllib.urlencode({'pass': 'xxxx', 'mesg': '10.10.10.2'':'+msg}) headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"} conn = httplib.HTTPConnection("sms.nhko.com:80") conn.request("POST", "/cgi-bin/sms.pl", params, headers) print conn..