-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coloring benchmark problem #93
Comments
what are Mx and My here? |
Oh, I cut SciML/SciMLBenchmarks.jl#91 a little too aggressively. Mx = Tridiagonal([1.0 for i in 1:N-1],[-2.0 for i in 1:N],[1.0 for i in 1:N-1])
My = copy(Mx) |
For the record, recorded 600 seconds initially (otherwise I'll forget and have to recompute it)
|
It's the whole matrix to graph function which is slow, the rest can wait: julia> @time matrix2graph(jacsparsity, false)
475.198843 seconds (719.90 k allocations: 100.197 MiB, 0.01% gc time) |
two potential speedups already: |
since the indices are known, |
#94 is a first take on that, I think there may be a way to improve this even more |
The text was updated successfully, but these errors were encountered: