What if you do @btime solve($prob)? It’s kind of weird that Julia 1.6 is much slower.
@btime solve($prob)