René's URL Explorer Experiment


Title: [최현식] CH02 - 주석이 성능에 영향을 미칠까요? · Issue #1 · Invincible-Backend-Study/java-basic · GitHub

Open Graph Title: [최현식] CH02 - 주석이 성능에 영향을 미칠까요? · Issue #1 · Invincible-Backend-Study/java-basic

X Title: [최현식] CH02 - 주석이 성능에 영향을 미칠까요? · Issue #1 · Invincible-Backend-Study/java-basic

Description: 🤔 왜 이슈를 생성했나요? 주석(어노테이션을 제외한 // /**/)은 로직에 영향을 주지 않습니다. 그렇다면 성능에도 영향을 주지 않을까요? 런타임과 빌드타임 관점에서 궁금증이 들어서 확인해봤습니다. 과연 성능에 차이가 생겼을까요? 차이가 났다면 얼마나 생겼을까요! 😁 공유하고 싶은 내용 : 주석은 성능에 영향을 미치지않는다고 했는데, 정말일까? 들어가며 대충 감은 잡히시겠지만! 한번 생각해보시면 좋을 것 같습니다. 그리...

Open Graph Description: 🤔 왜 이슈를 생성했나요? 주석(어노테이션을 제외한 // /**/)은 로직에 영향을 주지 않습니다. 그렇다면 성능에도 영향을 주지 않을까요? 런타임과 빌드타임 관점에서 궁금증이 들어서 확인해봤습니다. 과연 성능에 차이가 생겼을까요? 차이가 났다면 얼마나 생겼을까요! 😁 공유하고 싶은 내용 : 주석은 성능에 영향을 미치지않는다고 했는데, 정말일까? 들어...

X Description: 🤔 왜 이슈를 생성했나요? 주석(어노테이션을 제외한 // /**/)은 로직에 영향을 주지 않습니다. 그렇다면 성능에도 영향을 주지 않을까요? 런타임과 빌드타임 관점에서 궁금증이 들어서 확인해봤습니다. 과연 성능에 차이가 생겼을까요? 차이가 났다면 얼마나 생겼을까요! 😁 공유하고 싶은 내용 : 주석은 성능에 영향을 미치지않는다고 했는데, 정말일까? 들어...

Opengraph URL: https://github.com/Invincible-Backend-Study/java-basic/issues/1

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[최현식] CH02 - 주석이 성능에 영향을 미칠까요?","articleBody":"## 🤔 왜 이슈를 생성했나요?\r\n주석(어노테이션을 제외한 // /**/)은 로직에 영향을 주지 않습니다. 그렇다면 성능에도 영향을 주지 않을까요? 런타임과 빌드타임 관점에서 궁금증이 들어서 확인해봤습니다. 과연 성능에 차이가 생겼을까요? 차이가 났다면 얼마나 생겼을까요! \r\n\r\n\u003cbr\u003e\r\n\r\n## 😁 공유하고 싶은 내용 : 주석은 성능에 영향을 미치지않는다고 했는데, 정말일까? \r\n### 들어가며\r\n대충 감은 잡히시겠지만! 한번 생각해보시면 좋을 것 같습니다. \r\n그리고 생각하신 결과와 같은지 비교해보시면 재밌을 것 같아요 😄\r\n\r\n_\r\n\r\n### 결과\r\n프로그래밍에서 주석은 코드를 이해하고 유지보수할 때 매우 유용합니다. 그러나 이러한 주석이 프로그램의 성능에 영향을 미치지 않는다는 것이 일반적인 생각입니다.\r\n\r\n그렇다면 주석이 코드의 성능에 영향을 미치지 않을까요? 이 질문에 대한 답은 \"그렇지 않다\" 입니다. 주석은 프로그램의 런타임 성능에는 영향을 미치지 않습니다. 그러나 빌드 타임에는 영향을 미칠 수 있습니다.\r\n\r\n아래 테스트를 참고해주세요 :)\r\n\r\n\u003cbr/\u003e\r\n\r\n**테스트**\r\n단순한 주석으로 50만 라인(80mb)을 채우고, 빌드 타임 및 런타임 성능을 비교했습니다.\r\n![image](https://user-images.githubusercontent.com/10378777/229782955-4ddcf3d8-886e-487d-96f9-d1398d3b0ee6.png)\r\n\r\n\u003cbr/\u003e\r\n\r\n**테스트 결과**\r\n\r\n런타임 확인 결과\r\n\r\n- 주석이 런타임 성능에 영향을 미치지 않습니다.\r\n- 주석 크기가 작든 크든 같은 유사한 실행시간을 보입니다.\r\n- 즉, 빌드된 파일에는 주석이 존재하지 않기 때문에 실행시간 차가 없는 것으로 보입니다.\r\n\r\n빌드 타임 확인 결과\r\n\r\n- 주석은 빌드 타임에 영향을 미칩니다.\r\n- 로직에 복잡도 등에 따른 문제가 아니라, 단순히 파일 내용을 읽는 시간이 증가한 것 같습니다.\r\n- 그러나, 순수 주석 80MB 정도마다 빌드 타임이 1초 증가하는 것으로 확인되었습니다. \r\n- 즉, 사실상 주석의 양을 신경쓰면서 코드를 구성해야되는 수준이 아닙니다. ☺\r\n\r\n\r\n\u003cbr\u003e\r\n\r\n## 📌 참고자료, 공유하고 싶은 자료\r\n- [OKKY 주석이 성능에 영향을 미칠까요?](https://okky.kr/questions/213175)\r\n\r\n_\r\n\r\n- 인텔리제이에서 크기가 큰 파일을 허용하지 않습니다. 기본적으로 파일 크기를 2.5메가로 제한하고 있습니다. 먼저 큰 파일을 IDE에서 접근할 수 있도록 설정을 수정합니다.\r\n\r\n  - [[IntelliJ][이슈] The file size exceeds the configured limit. Code insight features are not available.](https://youn12.tistory.com/46)\r\n\r\n  - [[IntelliJ] The file size ... exceeds configured limit ... Code insight features are not available 에러 해결방법](https://hbase.tistory.com/373)\r\n\r\n- 또한 빌드 시 Out Of Memory 에러가 발생하면, 인텔리제이에서 메모리 사이즈를 늘려야 합니다.\r\n  - [[IntelliJ] Build 시 Out Of Memory 대처법](https://inseok9068.github.io/intellij/intellij-build-error/)\r\n\r\n![image](https://user-images.githubusercontent.com/10378777/229783503-9da52175-b3d8-400e-b4e6-0bacb0cac5b8.png)\r\n\r\n","author":{"url":"https://github.com/chhs2131","@type":"Person","name":"chhs2131"},"datePublished":"2023-04-03T14:03:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1/java-basic/issues/1"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4628bdc5-8c59-d95a-4309-4825d1493f51
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD3A6:27CBC5:317B05A:457DD63:6979206E
html-safe-nonce4cac7f7ea49211096aa450c1472bfbcfc6805fb05f0d2ec1eaaf8fe684b31778
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0E2OjI3Q0JDNTozMTdCMDVBOjQ1N0RENjM6Njk3OTIwNkUiLCJ2aXNpdG9yX2lkIjoiNjk1MjUxNDk1NjgzMDUxNTMxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac31febb1c09651fb7e45f2d9b410a7e594d389393e191341ef762321c57a1dd99
hovercard-subject-tagissue:1652137601
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Invincible-Backend-Study/java-basic/1/issue_layout
twitter:imagehttps://opengraph.githubassets.com/69989a65f1d74f81ebb59609204dcfdc85a14f302dafbf23756743cea855fd19/Invincible-Backend-Study/java-basic/issues/1
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69989a65f1d74f81ebb59609204dcfdc85a14f302dafbf23756743cea855fd19/Invincible-Backend-Study/java-basic/issues/1
og:image:alt🤔 왜 이슈를 생성했나요? 주석(어노테이션을 제외한 // /**/)은 로직에 영향을 주지 않습니다. 그렇다면 성능에도 영향을 주지 않을까요? 런타임과 빌드타임 관점에서 궁금증이 들어서 확인해봤습니다. 과연 성능에 차이가 생겼을까요? 차이가 났다면 얼마나 생겼을까요! 😁 공유하고 싶은 내용 : 주석은 성능에 영향을 미치지않는다고 했는데, 정말일까? 들어...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechhs2131
hostnamegithub.com
expected-hostnamegithub.com
None3c7f9dd0916337a11e6ea9c7a54b96960b654425bd4240b9643d6c3af745492e
turbo-cache-controlno-preview
go-importgithub.com/Invincible-Backend-Study/java-basic git https://github.com/Invincible-Backend-Study/java-basic.git
octolytics-dimension-user_id122281532
octolytics-dimension-user_loginInvincible-Backend-Study
octolytics-dimension-repository_id619187462
octolytics-dimension-repository_nwoInvincible-Backend-Study/java-basic
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id619187462
octolytics-dimension-repository_network_root_nwoInvincible-Backend-Study/java-basic
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea2ee5467a024047ab777ae5b5b3ee378f2e75635
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues/1#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FInvincible-Backend-Study%2Fjava-basic%2Fissues%2F1
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FInvincible-Backend-Study%2Fjava-basic%2Fissues%2F1
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Invincible-Backend-Study%2Fjava-basic
Reloadhttps://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues/1
Reloadhttps://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues/1
Reloadhttps://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues/1
Invincible-Backend-Study https://patch-diff.githubusercontent.com/Invincible-Backend-Study
java-basichttps://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FInvincible-Backend-Study%2Fjava-basic
Fork 5 https://patch-diff.githubusercontent.com/login?return_to=%2FInvincible-Backend-Study%2Fjava-basic
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2FInvincible-Backend-Study%2Fjava-basic
Code https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic
Issues 4 https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues
Pull requests 2 https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/pulls
Actions https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/actions
Projects 0 https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/projects
Security 0 https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/security
Insights https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/pulse
Code https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic
Issues https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues
Pull requests https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/pulls
Actions https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/actions
Projects https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/projects
Security https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/security
Insights https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/Invincible-Backend-Study/java-basic/issues/1
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/Invincible-Backend-Study/java-basic/issues/1
[최현식] CH02 - 주석이 성능에 영향을 미칠까요?https://patch-diff.githubusercontent.com/Invincible-Backend-Study/java-basic/issues/1#top
https://patch-diff.githubusercontent.com/chhs2131
https://patch-diff.githubusercontent.com/wnsgh12s
https://patch-diff.githubusercontent.com/HiiWee
https://patch-diff.githubusercontent.com/JaeHongDev
같이생각해보면좋겠어요!https://github.com/Invincible-Backend-Study/java-basic/issues?q=state%3Aopen%20label%3A%22%EA%B0%99%EC%9D%B4%EC%83%9D%EA%B0%81%ED%95%B4%EB%B3%B4%EB%A9%B4%EC%A2%8B%EA%B2%A0%EC%96%B4%EC%9A%94!%22
https://github.com/chhs2131
https://github.com/chhs2131
chhs2131https://github.com/chhs2131
on Apr 3, 2023https://github.com/Invincible-Backend-Study/java-basic/issues/1#issue-1652137601
https://user-images.githubusercontent.com/10378777/229782955-4ddcf3d8-886e-487d-96f9-d1398d3b0ee6.png
OKKY 주석이 성능에 영향을 미칠까요?https://okky.kr/questions/213175
[IntelliJ][이슈] The file size exceeds the configured limit. Code insight features are not available.https://youn12.tistory.com/46
[IntelliJ] The file size ... exceeds configured limit ... Code insight features are not available 에러 해결방법https://hbase.tistory.com/373
[IntelliJ] Build 시 Out Of Memory 대처법https://inseok9068.github.io/intellij/intellij-build-error/
https://user-images.githubusercontent.com/10378777/229783503-9da52175-b3d8-400e-b4e6-0bacb0cac5b8.png
HiiWeehttps://patch-diff.githubusercontent.com/HiiWee
JaeHongDevhttps://patch-diff.githubusercontent.com/JaeHongDev
chhs2131https://patch-diff.githubusercontent.com/chhs2131
wnsgh12shttps://patch-diff.githubusercontent.com/wnsgh12s
같이생각해보면좋겠어요!https://github.com/Invincible-Backend-Study/java-basic/issues?q=state%3Aopen%20label%3A%22%EA%B0%99%EC%9D%B4%EC%83%9D%EA%B0%81%ED%95%B4%EB%B3%B4%EB%A9%B4%EC%A2%8B%EA%B2%A0%EC%96%B4%EC%9A%94!%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.