-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
compiler:llvmFor issues that relate to LLVMFor issues that relate to LLVMperformanceMust go fasterMust go fasterregression 1.11Regression in the 1.11 releaseRegression in the 1.11 release
Description
While working on my package SmallCollections.jl, I've noticed a significant slowdown in 1.11.0-rc1:
using SmallCollections, Chairmarks
sh = shuffles(2, 2, 2, 2, 2, 2, 2)
# this is an iterator over all ordered partitions of 1:14
# into 7 2-element sets, plus a permutation sign
function f(sh)
s = 0
for (t, _) in sh
# "t" is the ordered partition, "_" would be the permutation sign
s += sum(length, t) # the right-hand side is just 7*2 = 14
end
s
end
EDIT: sh = shuffles(2, 2, 2, 2, 2, 2)
(6 arguments) is enough for a 5x slowdown.
julia> @b f($sh)
1.718 s (without a warmup) # 1.10.4
9.277 s (without a warmup) # 1.11.0-rc1
The functionality is not yet in the published version, nor in master.
You can use the latest published version (v0.3.0) of SmallCollections.jl.
Julia Version 1.11.0-rc1
Commit 3a35aec36d1 (2024-06-25 10:23 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)
Metadata
Metadata
Assignees
Labels
compiler:llvmFor issues that relate to LLVMFor issues that relate to LLVMperformanceMust go fasterMust go fasterregression 1.11Regression in the 1.11 releaseRegression in the 1.11 release