bjack205 / BilinearControl.jl

MIT License
26 stars 1 forks source link

Run profiler on solve to find bottlenecks #22

Open bjack205 opened 2 years ago

bjack205 commented 2 years ago

flamegraph Found that most of the time is spent in forming Ahat and Bhat. Spawned #23.

bjack205 commented 2 years ago

flamegraph New results after #26. Next steps are to further optimize updateBhat! by maybe doing some more caching, and further optimizing eval_c!. It seems a lot of time is being spent calling nzrange, which is odd.

Also need to speed up the formation of the KKT system when solving for x.