Menu

Tree [3b2009] master /
 History

HTTPS access


File Date Author Commit
 pytestlan008-win32 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 COPYING 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 pytestlan.log 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 pytestlan008-win32.zip 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 pytestlan008.py 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 pytestlan008.pyc 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 pytestlan2exe.py 2015-02-25 ginoingas ginoingas [3b2009] Initial commit
 readme.txt 2015-02-25 ginoingas ginoingas [3b2009] Initial commit

Read Me

simple command line tool linux, windows
revision 0.0.8 add times details and log file

pytestlan v0.0.8: time benchmark tcp stream send/recive
	
send several trames over TCP lan in AF_INET SOCK_STREAM
and return time elapsed.

   usage: pytestlan ser IP PORT
   usage: pytestlan cli IP PORT nb_of_loop data_size

   example for server: pytestlan ser localhost 50000
   example for server: pytestlan ser 172.168.0.37 50000
   example for client: pytestlan cli 172.168.0.12 50000 1000 100

result log on file pytestlan.log on local lan 100M linux client win7 server
pytestlan.pyc cli 192.168.0.37 50000 (10000 1000)
result log on file pytestlan.log on local lan 100M linux server win7 client
python pytestlan.pyc ser 192.168.0.37 50000 10000 1000

pytestlan.log:
21/02/15 10:42:17 pytestlan v0.0.8, as SERVER
total bytes recived: 10009003, total elapsed time: 24.1515, software time: 0.1746
total elapsed send time: 0.0938(average: 0.0), min: 0.0, max: 0.001
total elapsed recive time: 23.8831(average: 0.0024), min: 0.0, max: 0.0044
21/02/15 10:43:01 pytestlan v0.0.8, as CLIENT
total bytes recived: 38894, total elapsed time: 7.7366, software time: 0.2111
total elapsed send time: 0.0949(average: 0.0), min: 0.0, max: 0.001
total elapsed recive time: 7.4306(average: 0.0007), min: 0.0005, max: 0.0039

please note that times are relevant from program, theses may be not reality:
- when send data on socket, program can continue, but we don't know if data are effectively transmitted.
- when client recive data, we're waitting for server acknoledgement, it can be long, but we'll know that only after.
- ...

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.