pythran icon indicating copy to clipboard operation
pythran copied to clipboard

Slow compilation time

Open Dapid opened this issue 5 years ago • 6 comments

This silly module takes 5 min to compile, while this can do it in just one. This is not really a big problem for using Pythran, but it becomes annoying when trying to debug it.

(I would be perfectly happy if this gets closed with WONTFIX.)

Dapid avatar Sep 13 '19 15:09 Dapid

I can't reproduce : the first one compiles in ~ 45s, and the second is 404 :-/

serge-sans-paille avatar Sep 21 '19 08:09 serge-sans-paille

My module is actually taking several minutes to compile (I'm using Windows 10 64 bits and Python 3.6), and I'm not actually sure that it will compile (it's been compiling for over 30 minutes now).

I'm just running

pythran GLNetEISimLib.py

Any thoughts?

mgirardis avatar Sep 27 '19 21:09 mgirardis

@mgirardis on my laptop: 30min for python translation, and 2min for binary generation. That's a big issue, thanks for reporting it :-)

serge-sans-paille avatar Sep 28 '19 07:09 serge-sans-paille

@Dapid since e69143e0431992f101c075d919720f5a2cfb2d27, compilation of code with fixed-size loop is much faster, that should solve your issue. (your code now compiles in < 15s on my laptop).

serge-sans-paille avatar Dec 02 '19 20:12 serge-sans-paille

Not closing the issue because @mgirardis problem is still live.

serge-sans-paille avatar Dec 02 '19 20:12 serge-sans-paille

@mgirardis #1416 seems to improve the situation, can you confirm it does,

serge-sans-paille avatar Dec 06 '19 23:12 serge-sans-paille