Stefan Behnel wrote:
> David Cournapeau, 02.02.2010 10:06:
>   
>> On Tue, Feb 2, 2010 at 5:06 PM, Stefan Behnel wrote:
>>     
>>> I actually tried to use tcc for running the test suite a while ago, but it
>>> crashed for me. Usually, dactivating most optimisations with "gcc -O1"
>>> speeds up the test runs by quite a bit, and might also drop the memory
>>> requirement a little.
>>>       
>> You may want to try clang from the llvm project. It compiles most code
>> fine, and is significantly faster than gcc (the memory requirement,
>> especially for c++, are even more significant). It is relatively easy
>> to build (at least llvm 2.6), and is even included on mac os x (in
>> xcode 3.1).
>>     
>
> Cool! There's a ready-made Debian package for it:
>
> http://packages.debian.org/sid/clang
>
> Works perfectly on my Ubuntu Karmic x86_64 system. Without any optimisation
> options, the C-only cython-devel test suite runs in 156 seconds (2:36) on
> my machine, compared to 191 (3:11) with gcc. Not the kind of difference
> that lets you start running it from a commit hook, but certainly noticeable.
>   

A project I've been thinking about is Cython-support for the waf build 
system:

http://code.google.com/p/waf/

 - Parallell, reliable builds! (I think parallell testing should help a 
good deal on the runtime of the test suite, it's not all IO bound -- or 
if it is, one should consider ramdisks)
 - It runs on Python 2.3 to 3.1 (though only with bzip2...sure that can 
be changed if necesarry)
 - It's reasonable small, and the recommended mode of distribution is to 
ship it together with the project which uses it (they actively 
discourage system installation)

With a few additions, it would be a decent GSoC project (if it is run 
this year...anybody heard anything?)


Dag Sverre

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to