Open BooBSD opened 2 months ago
You want to profile your code and identify what part of the code got slower. Not infrequently, changes in performance are due using a different LLVM version, but hard to say whether that's the culprit here without a profile. Alternatively, you can try to git bisect
where your code got sensibly slower (this can take a while but can probably better identify the culprit).
my guess is that this will be the same as https://github.com/JuliaLang/julia/issues/55009
It looks like the issue is related to the new Memory
type and getindex
/ setindex
. After optimizing my code, I achieved 77-78 million MNIST predictions per second with Julia 1.10.5 compared to 74-76 million predictions with Julia 1.1 RC3. The difference is now 4%.
Do you know where in the code the regression is? It's a lot easier to see if there's something to fix with a relatively small MWE.
Also #55009 is about getindex: https://github.com/JuliaLang/julia/issues/55009#issuecomment-2206637798
Hello,
I recently discovered that the MNIST inference benchmark performance for Tsetlin.jl degrades by approximately 15-16% on Julia 1.11 RC3 compared to version 1.10.5.
Julia 1.10.5:
Julia 1.11 RC3:
As you can see, I achieved 51 million predictions per second compared to 44 million predictions per second. Why is Julia 1.11 significantly slower than 1.10? How can I fix it?