<div dir="ltr"><div><div>So I tried to speed up the running of my test suite and failed.<br><br>I thought I'd share my experience in case someone else in the future googles before<br></div> trying the same thing, or in case some genius out there sees some fatal flaw in my plan.<br>

<br></div><div>Here's what I did:<br><br></div><div>I'm on Ubuntu Raring. I have both gcc and clang compilers installed.<br><br>I did some experiments with a c++ test program and found that clang with the -O3 optimization flag creates a faster program than gcc with -O6.<br>

<br></div><div>So I thought, I'll compile my own python and venv with python and clang and -O3.<br><br></div><div>So I compiled my python from source with clang and -O3 and installed it in ~/python.<br><br></div><div>

I deleted my venv for nova and, rebuilt it all under the new python.<br><br></div><div>Here are the <b>results</b> of: time ./run_tests.sh<br><br><b>standard python:</b><br><br>real    7m4.077s<br>user    21m0.080s<br>sys 0m24.596s<br>

<br><b>with clang compiled python:</b><br><br>real    8m11.396s<br>user    24m28.824s<br>sys 0m25.408s<br><br></div><div>I tried it a few times and got similar results. So it seems that the stock ubuntu python is faster than my cmake -O3 compiled one.<br>

<br></div><div>All comments and suggestions welcomed.<br><br></div><div>Kind Regards,<br></div><div>Matthew Sherborne<br></div></div>