Skip to content

Precompile cache: always add worklist CIs #47924

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

Merged
merged 2 commits into from
Dec 20, 2022
Merged

Precompile cache: always add worklist CIs #47924

merged 2 commits into from
Dec 20, 2022

Conversation

timholy
Copy link
Member

@timholy timholy commented Dec 19, 2022

We cache only those external CodeInstances that link back to the package being precompiled. Formerly we required a backedge; this PRs adds any whose specTypes could only link back to the package. This scoops up a few runtime-dispatched CodeInstances.

In local tests, this shaves off ~20% of CSV's TTFX.

We cache only those external CodeInstances that link back to the
package being precompiled. Formerly we required a backedge;
this PRs adds any whose `specTypes` could only link back to the
package. This scoops up a few runtime-dispatched CodeInstances.
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm

This also gets the items they call
@timholy timholy added the backport 1.9 Change should be backported to release-1.9 label Dec 19, 2022
@IanButterworth IanButterworth added the latency Latency label Dec 19, 2022
@timholy timholy merged commit 1f0700a into master Dec 20, 2022
@timholy timholy deleted the teh/worklist_CIs branch December 20, 2022 14:30
KristofferC pushed a commit that referenced this pull request Dec 20, 2022
We cache only those external CodeInstances that link back to the
package being precompiled. Formerly we required a backedge;
this PRs adds any whose `specTypes` could only link back to the
package. This scoops up a few runtime-dispatched CodeInstances
and their callees.

(cherry picked from commit 1f0700a)
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
latency Latency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants