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

빌드 타임 최적화 #9

Closed
KimKyuHoi opened this issue Dec 13, 2024 · 0 comments · Fixed by #10 or #11
Closed

빌드 타임 최적화 #9

KimKyuHoi opened this issue Dec 13, 2024 · 0 comments · Fixed by #10 or #11
Assignees
Labels
📦 Environment 개발 환경 세팅 ✨ Feature 기능 추가

Comments

@KimKyuHoi
Copy link
Contributor

KimKyuHoi commented Dec 13, 2024

💡 Feature proposal

Use-cases

  • Act로 .yml파일들을 테스트하는 도중
lucide-react is listed by your project with version 0.462.0, which doesn't satisfy what @zagdang/icons requests (~0.468.0)

문구를 보게 되어 ci/cd 캐싱 해결 및 성능 최적화를 할 예정입니다.

현재 Yarn Berry CI/CD 파일등 성능

  1. 의존성 설치 성능:
Dependencies 설치: 1.956s
SDK 설치: 1.801s
총 설치 시간: ~4s
  1. Storybook 빌드 성능:
Manager built: 186ms
Preview built: 8.36s
Total build: ~8.5s
  1. 번들 크기 문제:
index-B8ObRqR1.js: 890.11 KB (gzip: 278.60 KB)
preview-BJ6EHSBF.js: 545.45 KB (gzip: 144.78 KB)
  1. unit test 테스트 시간:
Test Suites: 2 passed, 2 total
Tests:       9 passed, 9 total
Snapshots:   0 total
Time:        9.173s

Example

Attempted solutions

Proposal

  • turbo repo parallel

    • package.json
        "build": "turbo run build --parallel",
    
  • .yarnrc.yml

 compressionLevel: 0  # 더 빠른 압축
 enableMirror: true  # 미러 캐시 활성화

References

@KimKyuHoi KimKyuHoi added ✨ Feature 기능 추가 📦 Environment 개발 환경 세팅 labels Dec 13, 2024
@KimKyuHoi KimKyuHoi self-assigned this Dec 13, 2024
@KimKyuHoi KimKyuHoi linked a pull request Dec 13, 2024 that will close this issue
9 tasks
@KimKyuHoi KimKyuHoi linked a pull request Dec 13, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Environment 개발 환경 세팅 ✨ Feature 기능 추가
Projects
None yet
1 participant