cstjean / TraceCalls.jl

A debugging and profiling tool for Julia
Other
46 stars 4 forks source link

Support profiling comparisons #47

Open cstjean opened 7 years ago

cstjean commented 7 years ago

TODO:

The main issue left is that the loaded trace has a bunch of ReconstructedType, and we need to handle those. Either write a custom compare_benchmark(minimum, tr) that reruns the benchmarks, or have map use @ignore_errors. I'm leaning towards the latter. We might then write map(ratio, tr1, tr2). This will require writing ratio(tr1, tr2) = ratio(value(tr1), value(tr2)).

cstjean commented 7 years ago

This is mostly done, but I want to do something better about errors when reloading a saved benchmark. I'd like to remove them and warn, which is the best I can do.