Skip to content

httpd in golang with performance test options

Notifications You must be signed in to change notification settings

skattmasen/httpdperfd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpdperfd

Simple httpd for performance testing different load aspects

Prerequisites

goland and possibly docker

Getting Started

Binds to port 8000.

go build httpdperfd.go -o httpdperfd

or

docker build -t <somename> -f Docker.build .

Running the tests

Query Params, both optional:

  • weight (default 1000), num shasum iterations to simulate cpu intensive load
  • response_body_bytes, size of the response object. Defaults to the timing of the http query in total.
curl http://localhost:8000/?weight=1&response_body_bytes=10000

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Mattias Berge - Initial work

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

...

About

httpd in golang with performance test options

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages