Merged
Conversation
odow
commented
Jun 6, 2023
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3410 +/- ##
=======================================
Coverage 98.05% 98.05%
=======================================
Files 34 34
Lines 4926 4926
=======================================
Hits 4830 4830
Misses 96 96
☔ View full report in Codecov by Sentry. |
Member
Author
|
Just to close the loop on the original benchmark: Previously julia> @btime JuMP.Containers.rowtable($value, $x, header=$header);
371.580 ms (210016 allocations: 7.07 MiB)
julia> @btime test($value, $x, header=$header);
6.915 ms (105016 allocations: 3.03 MiB)
julia> @btime JuMP.Containers.rowtable($value, $y, header=$header);
187.218 ms (105010 allocations: 3.41 MiB)
julia> @btime test($value, $y, header=$header);
3.433 ms (52510 allocations: 1.39 MiB)This PR julia> @btime JuMP.Containers.rowtable(value, $x, header=$header);
2.349 ms (55025 allocations: 1.46 MiB)
julia> @btime test(value, $x, header=$header);
6.906 ms (105016 allocations: 3.03 MiB)
julia> @btime JuMP.Containers.rowtable(value, $y, header=$header);
1.211 ms (27518 allocations: 625.70 KiB)
julia> @btime test(value, $y, header=$header);
3.354 ms (52510 allocations: 1.39 MiB) |
hellemo
added a commit
to sintefore/SparseVariables.jl
that referenced
this pull request
Jun 20, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3404.
Julia 1.6
Julia 1.9
I don't understand the reason for the regression in 1.9. But this is better regardless.