Re: Pil vs Pil21 performances

2020-09-05 Thread Mike
hi all, September 5, 2020 12:28 AM, "Davide BERTOLOTTO" wrote: > Ok, I managed to turn on the optimization (opt -O3) and the results improved > > *** recursive > > -- picolisp 3.007 sec > > -- pil21 4.249 sec > > *** iterative > > -- picolisp 0.515 sec > > -- pil21 0.368 sec > >

Re: Pil vs Pil21 performances

2020-09-05 Thread Alexander Burger
On Fri, Sep 04, 2020 at 11:17:44PM +0200, Davide BERTOLOTTO wrote: > Ok, I managed to turn on the optimization (opt -O3) and the results improved > > *** recursive > -- picolisp 3.007 sec > -- pil21 4.249 sec > > *** iterative > -- picolisp 0.515 sec > -- pil21 0.368 sec > > Apparently with the

Re: Pil vs Pil21 performances

2020-09-05 Thread Alexander Burger
Hi Davide, > I compiled pil21 with llvm on termux and then I ran some simple fibonacci > benchmark. Here the results > > *** recursive > n 37 fib 24157817 > -- picolisp 3.013 sec > -- pil21 5.332 sec > -- python 21.247 sec > > *** iterative > n 8 fib 4589178984+ > -- picolisp 0.518 sec > --

Re: Pil vs Pil21 performances

2020-09-04 Thread Davide BERTOLOTTO
Ok, I managed to turn on the optimization (opt -O3) and the results improved *** recursive -- picolisp 3.007 sec -- pil21 4.249 sec *** iterative -- picolisp 0.515 sec -- pil21 0.368 sec Apparently with the optimization cache does not segfault... Cheers, Davide On Fri, Sep 4, 2020, 22:50

Pil vs Pil21 performances

2020-09-04 Thread Davide BERTOLOTTO
Hi all, I compiled pil21 with llvm on termux and then I ran some simple fibonacci benchmark. Here the results *** recursive n 37 fib 24157817 -- picolisp 3.013 sec -- pil21 5.332 sec -- python 21.247 sec *** iterative n 8 fib 4589178984+ -- picolisp 0.518 sec -- pil21 0.409 sec -- python