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

Track invalidations during deserialization #260

Merged
merged 1 commit into from
Aug 18, 2021
Merged

Track invalidations during deserialization #260

merged 1 commit into from
Aug 18, 2021

Conversation

timholy
Copy link
Owner

@timholy timholy commented Aug 18, 2021

These were printed to the console but not otherwise stored.
Storing them allows one to give them more emphasis and perform
analysis. With JuliaLang/julia#41913,
it becomes possible to attribute them to specific method
definitions or deletions. (Of course there might be multiple
reasons, but we need to identify at least one in order to make
progress.)

CC @chriselrod, @vtjnash, @ChrisRackauckas. If anyone plans to try this, until 2.8 is released be sure to dev SnoopCompileCore too as it is a separate (subdir) module and there are changes due to #257.

These were printed to the console but not otherwise stored.
Storing them allows one to give them more emphasis and perform
analysis. With JuliaLang/julia#41913,
it becomes possible to attribute them to specific method
definitions or deletions. (Of course there might be multiple
reasons, but we need to identify at least one in order to make
progress.)
@codecov
Copy link

codecov bot commented Aug 18, 2021

Codecov Report

Merging #260 (f683000) into master (40bba9c) will decrease coverage by 1.48%.
The diff coverage is 43.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
- Coverage   85.04%   83.55%   -1.49%     
==========================================
  Files          15       15              
  Lines        1745     1800      +55     
==========================================
+ Hits         1484     1504      +20     
- Misses        261      296      +35     
Impacted Files Coverage Δ
src/invalidations.jl 79.93% <43.07%> (-8.75%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40bba9c...f683000. Read the comment docs.

@timholy
Copy link
Owner Author

timholy commented Aug 18, 2021

To really be functional in the tests we'll have to wait for JuliaLang/julia#41913 to hit nightly. But since this hasn't broken anything, I'll merge.

@timholy timholy merged commit 4e52869 into master Aug 18, 2021
@timholy timholy deleted the teh/deser branch August 18, 2021 16:36
timholy added a commit that referenced this pull request Aug 19, 2021
Improves on #260 by collecting all callees and callers and then doing
the attribution at once (finding at least one identifiable callee).
timholy added a commit that referenced this pull request Aug 19, 2021
Improves on #260 by collecting all callees and callers and then doing
the attribution at once (finding at least one identifiable callee).

This also adds the test's Manifest.toml, which was missing on #260 but not
detected because the necessary Julia version had not yet hit nightly.
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.

1 participant