Commit 7f9796d2 authored by Florian Fittkau's avatar Florian Fittkau

WiP

parent 95052086
......@@ -20,8 +20,8 @@ import org.jfree.data.xy.DefaultXYDataset;
import org.jfree.data.xy.XYSeries;
public class Main extends JFrame {
private static final double INTENSITY = 25;
private static final int THREAD_COUNT = 32;
private static final double INTENSITY = 14;
private static final int THREAD_COUNT = 16;
private static final int JMETER_INSTANCES = 1;
private static final float SESSION_TO_REQUEST_RATIO = 2.55f;
......@@ -87,7 +87,7 @@ public class Main extends JFrame {
private static int getWorkload(float expiredMinute) {
final int numSessions = (int) ((numSessions(expiredMinute) / 2d) * INTENSITY);
return numSessions > 1 ? numSessions : 5;
return numSessions > 1 ? numSessions : 1;
}
private static double numSessions(double min) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment