[bootstrap] Build TS refs in parallel#90529
[bootstrap] Build TS refs in parallel#90529tylersmalley wants to merge 1 commit intoelastic:masterfrom
Conversation
Results in a small (~7%) reduction in the build time. However, it does mean that projects referenced outside of x-pack might be doing half the work at the expense of build time. I first began by combining both tsconfig.refs.json to see if there would be an improvement in the build time. However, that didn't make a measurable difference. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
|
I'm a little worried about race conditions between the projects in the default config and their similar references from xpack, if the build for |
|
@spalger, I am not sure. @restrry, do you know? |
|
I'm seeing a larger and exciting 45 second improvement when running this branch, tested with With four runs on both branches I got average times of 276s on master and 231s on this branch, which is an awesome little speed-up. |
💚 Build SucceededMetrics [docs]
To update your PR or re-run it, just comment with: |
|
yes, I removed parallel builds in #79438 |
|
Closing in favor of #90537 |
Results in a small (~7%) reduction in the build time. However, it does mean that projects referenced outside of x-pack might be doing twice the work at the expense of build time.
I first began by combining both tsconfig.refs.json to see if there would be an improvement in the build time. However, that didn't make a measurable difference.