Re: [Cython] Cython coverage and multiple projects

2015-10-28 Thread Masood Malekghassemi via cython-devel
After reorganizing the code such that all the tests are located back in the same project, setting up the running of tests in-tree, and using the unittest module directly, there's been much success! Automatically suffixed .coverage files are generated per test case and merged at the end (keeping ope

Re: [Cython] Do we really need realpath()?

2015-10-28 Thread Robert Bradshaw
I'm not sure why realpath was used here; that does seem quite expensive. On Wed, Oct 28, 2015 at 9:30 AM, Jeroen Demeyer wrote: > Hello, > > I am currently profiling Cython's dependency-checking code when compiling > the SageMath Cython library. I am skipping the actual cythonization, so it's > r

[Cython] Do we really need realpath()?

2015-10-28 Thread Jeroen Demeyer
Hello, I am currently profiling Cython's dependency-checking code when compiling the SageMath Cython library. I am skipping the actual cythonization, so it's really just the first "for m in module_list" loop in cythonize(). I noticed that about 10% of total time is spent in os.path.realpath(