Skip to content
Snippets Groups Projects
Commit 7f9796d2 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

WiP

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