New recompilation time report from @time
isn't distinguishing "regular" compilation of the invalidating dependency.
#46101
Labels
observability
metrics, timing, understandability, reflection, logging, ...
@IanButterworth this new
@time
recompilation time tracking is super cool! :) 🎉It seems like maybe there's a small bug here, where we aren't disabling
is_recompile
when compiling the transitive dependency that actually caused the invalidation?Notice how in this example, both of the last two compilations of
foo()
are100% of which was recompilation
, whereas in the last example, actually half of its time its compilingbar()
, which isn't technically recompilation, but rather regular compilation, right? At least, it's treated as regular compilation when just compiling@eval bar()
directly. So i think they should be consistent, and the last one should be something like 50% recompilation!What do you think? Does this seem like a bug to you as well?
Originally posted by @NHDaly in #45015 (comment)
The text was updated successfully, but these errors were encountered: