JuliaSmoothOptimizers / Krylov.jl

A Julia Basket of Hand-Picked Krylov Methods
Other
338 stars 51 forks source link

Add more timers in KrylovStats #838

Open amontoison opened 9 months ago

amontoison commented 9 months ago

We have stats.timer if we want to measure the elapsed time to solve a linear system, but it could be great to see the time spent on matrix-vector products or when applying the preconditioners.

dpo commented 8 months ago

LinearOperators has a TimedOperator type.

amontoison commented 8 months ago

I forgot that! I will add an example in the documentation of Krylov.jl.