Skip to content

a simple c program to bench your webserver's total response time

Notifications You must be signed in to change notification settings

che30122/bench-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

this is a simple web bench can be used to bench your web server

how to compile:
	make clean
	make

how to execute:
	./bench <command line option>

command line option:

-p --port  	:choose the port you want to connect (must)

-h --header 	:set your http header use '#' to separate each line and if you want to you space char(' ') please use '*' to instead(option)

-d --data	:the data you would like to send use '#' to separate each data you what to send (option)

-c --clientNum	:set client number (default 1)

-u --uri 	:the uri to the service you want to bench (must) 
#notice the format should be like this 
ex : http://127.0.0.1/register
you should specify the ip address instead of dns at this version

--help 		:help info

--get --post 	:choose post or get method (must and exclusive)

--http09 --http10 --http11	:choose your http version (default version 1.1)


About

a simple c program to bench your webserver's total response time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published