A simple benchmark comparing numpy (vectorized) and numba (JIT-compiled parallel loop) for a sum-of-squares computation over a large array.
On a representative machine the JIT-compiled numba version is roughly 12–15x faster than the vectorized numpy version: