-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Broadcasted in-place assignment of matrix to subarray 3x slower in 1.11-alpha1 over 1.10 and nightly #53615
Comments
Duplicate of #53158? |
Ah, I think it is. Thanks. EDIT: I'll take my hands off for the moment, didn't want to close prematurely. |
There's also #53430 |
Bisection shows that the regression was introduced by 9aa7980 I'll bisect again to find the fix as well and report back in a couple of hours. Bisect script
|
...which is the same as #53158 (comment), which suggests again this is a duplicate of that ticket. |
Performance for this specific example was fixed by 1a90409 by @jishnub So this is likely a duplicate of either #40962 or #53430 Bisect script
|
This is probably different from #53430. Btw, I don't think #53383 fully solves #53158, although it improves the performance by fixing the broken branches. A minor difference in performance still exists for me: julia> a = zeros(40000,4000); b = rand(size(a)...);
julia> @btime $a[1:end, 1:end] .= $b;
293.946 ms (0 allocations: 0 bytes) # v"1.10.2"
314.381 ms (0 allocations: 0 bytes) # v"1.12.0-DEV.162" This should probably be backported, but it uses the convenience function introduced in #53369, so that would be necessary as well. |
Interestingly, I get:
on the latest released 1.11 beta but
on the backport branch. So I'll have to check out what is going on there... |
#53383 should be relanded (with different tests), as that as a bugfix |
Discovered a slowdown in 1.11-alpha when copying an array to a subarray.
Since it seems nightly doesn't have it it's possible this is fixed and already marked for backport but I haven't found it - apologies for the noise if so.
The text was updated successfully, but these errors were encountered: