rhusar/clusterbench — pull request #3 by Karm (2012-01-01 20:51:45+00:00)
Title: Average system load

This simple servlet is used for stressing the server's CPU.

Usage
=====
You may GET e.g. this URL:
```http://localhost:8080/clusterbench/averagesystemload?milliseconds=20000&threads=4```
By doing so, there will be 4 threads with evil active-loops created. These threads will be running for 20000 milliseconds.

After the aforementioned time elapses, you shall receive this response:

```
DONE
```

whereas the following should be in your log:

```DONE, I was stressing CPU with 4 evil threads for 20072 milliseconds (including warm-up).```