Looking for Some Best Practices for Optimizing Julia Code Performance?
“Hi everyone, I am new to Julia and absolutely loving its speed and simplicity so far. However, as I start working on more complex projects…, I would like to ensure my code is as efficient as possible. I have read about Julia's impressive performance potential, but I am aware that achieving optima...”
julialang-discourse · danielljose · 12/23/2024
Open original →"Very optimised" Julia code 50x slower than Python with compiled functions
“Hi All, I am doing some Monte Carlo computation using Python (compiling some functions to C++ using the Numba package). I thought I would see how Julia compares. As is good programming practice, I scraped some code from the Internet https://shinaoka.github.io/hpc_julia/docs/2dIsing.html Ising 2D ...”
julialang-discourse · StarecZosima · 3/28/2023
Open original →C++ code much faster than Julia how can I optimize it?
“I’m trying to adapt this https://github.com/dstein64/kmeans1d/blob/master/kmeans1d/_core.cpp C++ code to Julia ( https://github.com/Adegasel/julia_1dkmeans/blob/master/scr/_core_trans.jl here my translation). However C++ original code is much faster than Julia. How can I optimize it?”
julialang-discourse · Adegasel · 9/27/2022
Open original →Parameter estimation of an ODE in Julia is slower than in R
“I’ve been trying to estimate parameters (using max likelihood) of an ODE using the DifferentialEquations and Optim packages in Julia aiming to get a faster convergence compared to R. Problem is that I still can do it faster in R. The only advantage so far is that I get a lower value of likelihood...”
julialang-discourse · laurar1891 · 8/1/2022
Open original →Performance issues with parallel Julia code
“I am working on a scientific code that is experiencing issues with parallelization. The parallel version is slower than the serial one and I am not sure if the right approaches are used for this application. How can I improve the performance of the parallel calculation? Is the right approach bein...”
julialang-discourse · kfrb · 9/29/2021
Open original →