Skip to content

Remove deprecations (and coming deprecations)#190

Merged
ararslan merged 2 commits intoJuliaCI:masterfrom
mbauman:mb/removedeps
Feb 27, 2018
Merged

Remove deprecations (and coming deprecations)#190
ararslan merged 2 commits intoJuliaCI:masterfrom
mbauman:mb/removedeps

Conversation

@mbauman
Copy link
Copy Markdown
Member

@mbauman mbauman commented Feb 21, 2018

When a deprecation appears in the hot loop of a tuned benchmark, BaseBenchmarks basically becomes non-terminating. So this PR anticipates some of the coming changes in JuliaLang/julia#24368. I have also taken the opportunity to fix the few other deprecations I ran into -- none of those were in hot loops.

Note that I have significantly changed some of these algorithms in order to better take advantage of dot-fusion. I think that is in the spirit of those specific benchmarks, but if desired I can happily revert that back to the most-minimal change required to avoid the deprecation.

When a deprecation appears in the hot loop of a tuned benchmark, BaseBenchmarks basically becomes non-terminating.  So this PR anticipates some of the coming changes in JuliaLang/julia#24368.  I have also taken the opportunity to fix the few other deprecations I ran into -- none of those were in hot loops.

Note that I have significantly changed some of these algorithms in order to better take advantage of dot-fusion.  I think that is in the spirit of those specific benchmarks, but if desired I can happily revert that back to the most-minimal change required to avoid the deprecation.
S3d = view(A3d, 1:10, 1:10, 1:10)
arrays = (makearrays(Int32, σ, σ)..., makearrays(Float32, σ, σ)..., trues(σ, σ), A3d, S3d)
ranges = (1:10^5, 10^5:-1:1, 1.0:1e5, linspace(1,2,10^4))
ranges = (1:10^5, 10^5:-1:1, 1.0:1e5, range(1,stop=2,length=10^4))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there Compat for this on 0.6? I think we need to keep supporting 0.6 here (unfortunate as that is) until we're certain there won't be another 0.6 release.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right, I forgot about that. I didn't check for Compat-ability. CI will tell us, I'm sure.

@mbauman
Copy link
Copy Markdown
Member Author

mbauman commented Feb 27, 2018

Bump! Would it be possible to merge this and get it up on Nanosoldier? I'd like to run JuliaLang/julia#24368 through perf tests.

@ararslan ararslan merged commit 83374c1 into JuliaCI:master Feb 27, 2018
@ararslan
Copy link
Copy Markdown
Member

Thanks Matt! (Both for the contribution and the reminder 😉) I'll retune the benchmarks and run Nanosoldier on your PR once that's ready.

@mbauman mbauman deleted the mb/removedeps branch February 27, 2018 19:36
mbauman added a commit to mbauman/BaseBenchmarks.jl that referenced this pull request Apr 4, 2018
mbauman added a commit to mbauman/BaseBenchmarks.jl that referenced this pull request Apr 4, 2018
…ons) (JuliaCI#190)""

This partially reverts commit 3d0426e, restoring the non-broadcasting related changes.
ararslan pushed a commit that referenced this pull request Apr 25, 2018
…n setindex! (#195)

* Revert "Remove deprecations (and coming deprecations) (#190)"

This reverts commit 83374c1.

* (Partially) Revert "Revert "Remove deprecations (and coming deprecations) (#190)""

This partially reverts commit 3d0426e, restoring the non-broadcasting related changes.

* Anticipate deprecating implicit scalar broadcasting in setindex!
Keno pushed a commit that referenced this pull request Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants