That's a great tip, :-). Just done with an experiment, and PyPy2 5.4.1-alpha0 cut down build time by 27% compared with CPython2.7.6 Thanks!
Peter -----Original Message----- From: Yury V. Zaytsev [mailto:y...@shurup.com] Sent: Wednesday, September 07, 2016 1:08 PM To: Wang, Peter Xihong <peter.xihong.w...@intel.com> Cc: William ML Leslie <william.leslie....@gmail.com>; PyPy Developer Mailing List <pypy-dev@python.org> Subject: RE: [pypy-dev] Any known tricks or effort made to make the PyPy source code build faster? > On 30/08/2016 9:53 am, "Wang, Peter Xihong" > <peter.xihong.w...@intel.com> wrote: > > By default, it appears most of the time during the build/compile > process, only 1 single CPU core is busy, signaling missing of parallel > compiling. Is there any best known practice to make it faster? Now that I think about it, there is yet another not obvious "trick" that I should have probably mentioned: You should definitively be translating PyPy with PyPy itself (rather than CPython); even though it will still use only 1 core, the translation will greatly benefit from the JIT. It's been a very long while since I've last checked, but I wouldn't be surprised about a factor 2x speedup or so... -- Sincerely yours, Yury V. Zaytsev _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev