timholy / SnoopCompile.jl

Provide insights about latency (TTFX) for Julia packages
https://timholy.github.io/SnoopCompile.jl/dev/
Other
309 stars 48 forks source link

Simplify the analysis of inference failures #214

Closed timholy closed 3 years ago

timholy commented 3 years ago

This adds new tools that essentially attempt to shield users from having to deal with Cthulhu. Even for experts, this may speed the processing of long lists of inference triggers, by using automated tools that take a first pass at the triggers to determine if some can be discarded.

Test coverage for suggest is fairly poor, although that's a bit deliberate; I expect its recommendations to change a fair bit over time, and consequently I'm deferring detailed testing. suggest is explicitly marked as EXPERIMENTAL, and hence changes are viewed as non-breaking.

This this the last of the changes I anticipate before making a new release.

codecov[bot] commented 3 years ago

Codecov Report

Merging #214 (ae02f58) into master (096fdf5) will decrease coverage by 1.51%. The diff coverage is 71.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #214      +/-   ##
==========================================
- Coverage   82.13%   80.62%   -1.52%     
==========================================
  Files           9        9              
  Lines        1125     1321     +196     
==========================================
+ Hits          924     1065     +141     
- Misses        201      256      +55     
Impacted Files Coverage Δ
src/SnoopCompile.jl 100.00% <ø> (ø)
src/parcel_snoopi_deep.jl 80.12% <71.85%> (-3.71%) :arrow_down:

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 096fdf5...ae02f58. Read the comment docs.