SPSBenchmark/README.md

51 lines
749 B
Markdown
Raw Permalink Normal View History

2017-06-27 23:18:58 +02:00
SPSBenchmark
=====
2017-06-27 23:09:06 +02:00
2017-06-27 23:18:58 +02:00
Benchmark tool for the Software Performance and Scalability course.
Configuration
-----
Edit: spsBenchmark.app.src
Parameters:
- domain: The url without the resource.
- pagefile: file with all the resources (one per line).
- nPages: how many resource to use (the shuffling may take some time).
Then
$ make config
Build
-----
$ make
Documentation
-----
$ make doc
Usage
-----
Start the console
$ erl -pa ebin
Initiliaze the benchmarker
> benchmarker:init().
Service time
> benchmarker:startServiceTime(Duration, Warmup).
Open loop test
> benchmarker:startOpenLoop(Rate, Duration, Warmup).
Closed loop test
> benchmarker:startClosedLoop(Rate, Population, Duration, Warmup).