Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] 의존성 리팩터링 및 스케줄링 성능 개선 #621

Merged
merged 22 commits into from
Jan 10, 2024

Conversation

kevstevie
Copy link
Collaborator

😋 작업한 내용

  • 의존성 리팩터링 및 스케줄링 성능 개선

🙏 PR Point

👍 관련 이슈

  • Resolved : #

Copy link

github-actions bot commented Jan 9, 2024

Test Results

108 tests   - 3   108 ✅  - 3   19s ⏱️ -1s
 23 suites +1     0 💤 ±0 
 23 files   +1     0 ❌ ±0 

Results for commit d0584ab. ± Comparison against base commit 1983174.

♻️ This comment has been updated with latest results.

Comment on lines 187 to 203
Runtime runtime = Runtime.getRuntime();
long totalMemory = runtime.totalMemory();
long freeMemory = runtime.freeMemory();
long usedMemory = (totalMemory - freeMemory) / 1000000;

long to = System.currentTimeMillis();
Path path = Paths.get("time_test.txt");
try {
if (Files.exists(path)) {
Files.write(path, ("time spent to proceed Round \nstudy size: " + rounds.size() + "\ntotal time spent: " + (to - from) + "\nThe JVM is using " + usedMemory + " MB of memory." + "\n\n").getBytes(), StandardOpenOption.APPEND);
} else {
Files.createFile(path);
Files.write(path, ("time spent to proceed Round \nstudy size: " + rounds.size() + "\ntotal time spent: " + (to - from) + "\n\n").getBytes());
}
} catch (IOException e) {
throw new RuntimeException(e);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

시간 측정 코드만 지워주실 수 있나요 ㅋㅋㅋㅋ

@yujamint yujamint merged commit 6c9b1cb into BE/develop Jan 10, 2024
2 checks passed
@yujamint yujamint deleted the test-performance2-batch-only-rom branch January 10, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants