arvindm95 / unladen-swallow

Automatically exported from code.google.com/p/unladen-swallow
Other
0 stars 0 forks source link

Huge expressions are really slow to compile under LLVM #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Lib/test/test_compile.py takes 1.7s for python2.6, 33s for trunk unladen
swallow (which emits some LLVM bitcode), and 12.5min for the llvm-working
branch (which emits full LLVM bitcode). The problem is test_extended_arg
which emits expressions containing 2500 subtractions.

Original issue reported on code.google.com by jyass...@gmail.com on 30 Mar 2009 at 10:36

GoogleCodeExporter commented 8 years ago
test_longexp is in the same boat: with unmodified trunk, it takes 0.5s; with 
-L0,
45s; with -L2, I had to leave it running overnight.

At least this is better than it crashing LLVM like it used to.

Original comment by collinw on 29 May 2009 at 3:31

GoogleCodeExporter commented 8 years ago

Original comment by collinw on 19 Jun 2009 at 7:17