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

perf: remove unnecessary tsconfig relative_file computation #687

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

jbedard
Copy link
Member

@jbedard jbedard commented Sep 8, 2024

The tsconfig is only generated within the BUILD directory and there is an assert that the srcs are all within that directory, so the relative file paths are easy to compute.


Changes are visible to end-users: no

Test plan

  • Covered by existing test cases

Copy link

aspect-workflows bot commented Sep 8, 2024

Test

All tests were cache hits

84 tests (100.0%) were fully cached saving 8s.


Buildifier      Format

@jbedard jbedard requested a review from alexeagle September 8, 2024 01:32
@jbedard jbedard marked this pull request as ready for review September 8, 2024 01:32
@DavidZbarsky-at
Copy link

This saves us around 300ms

Before:
image

After:
image

@jbedard jbedard requested a review from thesayyn September 9, 2024 19:13
@jbedard jbedard merged commit 85d969e into aspect-build:main Sep 9, 2024
23 checks passed
@jbedard jbedard deleted the tsconfig-rel-files branch September 9, 2024 21:15
jbedard pushed a commit that referenced this pull request Oct 28, 2024
Fix after breakage from #687

### Changes are visible to end-users: no

### Test plan

- Covered by existing test cases
- New test cases added
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.

3 participants