Alecsandru Patrascu added the comment:

I modified the patches after the review made by Brett (python2.7-pgo-v02.patch 
and python3.6-pgo-v02.patch):
- removed the call to pybench
- left the PGO steps as optional. To use it we run "make profile-opt"
- in the initial patches, I left out test_hashlib  because in our benchmarks we 
did not see any gain by applying PGO to the hash functions. It is not harmful 
and we can let it there or skip it. Nevertheless, in order not to create 
confusions about it, I removed that parameter from the patch.


I also added the patches for Mac exclusively (python2.7-pgo-v02-mac.patch and 
python3.6-pgo-v02-mac.patch). You must have llvm-profdata installed and in your 
path (in /Library/Developer/CommandLineTools/usr/bin/) to use it. I tested on 
Yosemite and it compiles fine with clang. I am working on a generic version 
(configure and Makefile patches) to merge all these platforms and will post 
them as soon as it is done.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24915>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to