utahplt / TrackedFloats.jl

Julia library providing tracking of floating point errors through a program resources
https://juliahub.com/ui/Packages/General/TrackedFloats
MIT License
34 stars 3 forks source link

Truncate stack traces #25

Closed ashton314 closed 1 year ago

ashton314 commented 1 year ago

From feedback on RxInfer.jl#116.

Common stack frames between all traces are common occurrence even in our testing code—this is noisy. The problem is even worse when users of FloatTracker are utilizing a library (e.g. Rocket.jl from the example) which can explode stack traces and make the files waaaaay bigger than necessary.

Including a parameter of a certain number of stack frames would be useful too.