Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http_clients_bench

Benchmark for hackney and ibrowse HTTP clients. Testing against Erlang 18.3, 20.3 and Erlang 21.0rc2.

Tweak benching parameters if needed.

-module(http_client_tester).

...

%% Concurrency(number of requests per cycle)
-define(CONC, 100).

%% Total number of cycles
-define(END_CYCLE, 5000).

Server is starting on port 8080, change if needed.

-module(http_clients_bench_server).

...

-define(PORT, 8080).

Build

$ make

Run

# To run server
$ ./run.sh server

# To run benchmarking
$ ./run.sh client [hackney|ibrowse]

About

HTTP client library benchmark. ibrowse/hackney

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages