Just my 2 cents,
Even without experimenting, I raise the question of different speeds for
the random generators (like randgen1). And also if we are comparing the
total time (suspect that JIT will increase setup time).
On Sat, Feb 10, 2018 at 3:36 PM, Sven Schreiber <svetosch(a)gmx.net> wrote:
Am 10.02.2018 um 15:01 schrieb Riccardo (Jack) Lucchetti:
> On Sat, 10 Feb 2018, Artur Tarassow wrote:
>
IMHO, this is one of the cases when teh JIT approach gives a huge
> performance boost;
>
I agree.
gretl took 1.454405 sec.
> 2.718006
>
On my oldish machine for input 10^6:
- gretl takes 2.7 secs
- Python (with numpy.random.uniform): 4.8 secs
- Python + Numba's just-in-time compilation (using the @jit decorator):
0.17 secs!
I don't have Julia here, but to compare this to Artur's numbers who used
10^7:
- gretl: 28 secs
- Python + Numba jit: 0.48 secs
So if Julia really is 100x faster than gretl here, Python+jit might be
just a little slower, being only 60x faster. (Note however that I only have
the free numba which uses llvmlite in the background I think; Numbapro
might be even faster, don't know.)
cheers,
sven
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
--
*My Favorite Open Source Projects awsome-lists
<
https://github.com/sindresorhus/awesome> gretl
<
http://gretl.sourceforge.net/> meld <
http://meldmerge.org/> robotframework
<
http://robotframework.org/> wxPython <
https://wxpython.org/>*