-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
206 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,5 +42,7 @@ out/ | |
### HTTP TEST ### | ||
*.http | ||
|
||
|
||
application.log | ||
/src/main/resources/logback.xml | ||
/src/main/resources/logback.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/main/java/com/soongsil/CoffeeChat/dto/ApplicationPerformanceRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.soongsil.CoffeeChat.dto; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class ApplicationPerformanceRequestDto { | ||
private ApplicationCreateRequest applicationCreateRequest; | ||
private PerformanceRequest performanceRequest; | ||
private int apiNum; | ||
} |
40 changes: 40 additions & 0 deletions
40
src/main/java/com/soongsil/CoffeeChat/dto/PerformanceRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package com.soongsil.CoffeeChat.dto; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Getter | ||
@Setter | ||
public class PerformanceRequest { | ||
private int userCount; | ||
private int durationInSeconds; | ||
private int totalRequests; | ||
|
||
// Getters and setters | ||
public int getUserCount() { | ||
return userCount; | ||
} | ||
|
||
public void setUserCount(int userCount) { | ||
this.userCount = userCount; | ||
} | ||
|
||
public int getDurationInSeconds() { | ||
return durationInSeconds; | ||
} | ||
|
||
public void setDurationInSeconds(int durationInSeconds) { | ||
this.durationInSeconds = durationInSeconds; | ||
} | ||
|
||
public int getTotalRequests() { | ||
return totalRequests; | ||
} | ||
|
||
public void setTotalRequests(int totalRequests) { | ||
this.totalRequests = totalRequests; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/com/soongsil/CoffeeChat/dto/PerformanceResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.soongsil.CoffeeChat.dto; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
@Setter | ||
public class PerformanceResult { | ||
private List<Double> averageTimesPerThread; | ||
private double overallAverageTime; | ||
|
||
public PerformanceResult(List<Double> averageTimesPerThread, double overallAverageTime) { | ||
this.averageTimesPerThread = averageTimesPerThread; | ||
this.overallAverageTime = overallAverageTime; | ||
} | ||
|
||
// Getters and Setters | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.