~/cpython $ export PYTHONHASHSEED=3385876387 $ ######### CLANG TIMINGS ############################### ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15309 0.18752 0.21101 0.31879 1000 0.15694 0.20194 0.22042 0.32268 10000 0.20807 0.25336 0.32736 0.42600 100000 0.30990 0.34651 0.53539 0.57232 1000000 0.61678 0.71111 1.09303 2.22963 ~/cpython $ # baseline ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15085 0.18883 0.20742 0.31861 1000 0.15850 0.19918 0.22010 0.32214 10000 0.20859 0.25486 0.32728 0.42226 100000 0.30986 0.34618 0.52755 0.56477 1000000 0.61245 0.89759 1.05665 2.22571 ~/cpython $ # new code ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15460 0.19232 0.21518 0.32116 1000 0.15806 0.19991 0.21561 0.32058 10000 0.20914 0.25427 0.32865 0.41952 100000 0.30981 0.34824 0.52795 0.58612 1000000 0.66439 0.73152 1.06515 2.23279 ~/cpython $ # baseline ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15293 0.18749 0.21131 0.31789 1000 0.15516 0.19873 0.21505 0.32092 10000 0.20936 0.25510 0.32971 0.42226 100000 0.30908 0.34669 0.53525 0.57829 1000000 0.61140 0.86971 1.06050 2.22381 $ ######### GCC-4.9 TIMINGS ############################### ~/cpython $ # baseline ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15329 0.18856 0.20887 0.32054 1000 0.15914 0.20161 0.22056 0.32315 10000 0.20783 0.25274 0.32764 0.42245 100000 0.31158 0.34602 0.53118 0.56523 1000000 0.61547 0.96288 1.10312 2.25349 ~/cpython $ # new code ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15166 0.18489 0.20746 0.32026 1000 0.15733 0.19951 0.21660 0.32191 10000 0.20855 0.25364 0.32724 0.42318 100000 0.30919 0.34695 0.52294 0.57901 1000000 0.61194 0.99163 1.04806 2.21797 ~/cpython $ # baseline ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15096 0.18800 0.21123 0.31813 1000 0.15635 0.19912 0.21884 0.32296 10000 0.20819 0.25477 0.32796 0.42156 100000 0.30958 0.34793 0.52302 0.58750 1000000 0.61496 0.98264 1.05266 2.23491 ~/cpython $ # new code ~/cpython $ python measure_build_set.py size dup words dup ints uniq words uniq ints ---------- ----------- ----------- ----------- ----------- 100 0.15373 0.19097 0.21921 0.31880 1000 0.15686 0.19913 0.21598 0.32248 10000 0.20900 0.25494 0.32789 0.41935 100000 0.30891 0.34612 0.53343 0.56665 1000000 0.61395 0.90371 1.05136 2.21851