-
Notifications
You must be signed in to change notification settings - Fork 584
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
feat: run prettier in parallel in generate-clients #1949
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1949 +/- ##
==========================================
+ Coverage 79.30% 79.83% +0.52%
==========================================
Files 368 368
Lines 15132 15553 +421
Branches 3222 3368 +146
==========================================
+ Hits 12001 12417 +416
- Misses 3131 3136 +5
Continue to review full report at Codecov.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue #, if available:
Fixes: #1947
Description of changes:
runs prettier in parallel in generate-clients script by using MIT licensed third-party @mixer/parallel-prettier package
Metrics to generate all clients:
Existing setup takes ~360 seconds
Disabling prettier takes ~17 seconds
Using @mixer/parallel-prettier takes ~83 seconds
This improves time taken to generate all clients by ~76% on a 16 core CPU.
System Information
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.