I’m wondering whether I can overdup only on functions defined in a module. Basically if my module has the functions a
and b
, … which do a lot of work I only want to access the calls from one of those functions to another and not all the base computations like +
, *
in between
I know I’m bad at explaining this so this is my use cases are:
- Building a call graph of my module for visualization
- Checking if a function behaves differently than before by saving the input and output of before and compare it to the new version. (A bit like unit tests without needing to write them)
- Doing micro benchmarks on those functions in a more automatic way using the same strategy.
Is this something Cassette.jl can be used for or are there maybe better suited packages for it?