[Python-Dev] Summary of Python tracker Issues
ACTIVITY SUMMARY (2017-03-31 - 2017-04-07) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open5882 (+27) closed 35891 (+37) total 41773 (+64) Open issues with patches: 2413 Issues opened (48) == #29939: Compiler warning in _ctypes_test.c http://bugs.python.org/issue29939 reopened by vinay.sajip #29956: math.exp documentation is misleading http://bugs.python.org/issue29956 opened by belopolsky #29957: unnecessary LBYL for key contained in defaultdict, lib2to3/btm http://bugs.python.org/issue29957 opened by selik #29960: _random.Random state corrupted on exception http://bugs.python.org/issue29960 opened by bryangeneolson #29963: Remove obsolete declaration PyTokenizer_RestoreEncoding in tok http://bugs.python.org/issue29963 opened by Jim Fasarakis-Hilliard #29964: %z directive has no effect on the output of time.strptime http://bugs.python.org/issue29964 opened by Paul Pinterits #29966: typing.get_type_hints doesn't really work for classes with For http://bugs.python.org/issue29966 opened by simon.percivall #29967: "AMD64 FreeBSD 9.x 3.x" tries to rebuild Include/opcode.h, tim http://bugs.python.org/issue29967 opened by haypo #29970: Severe open file leakage running asyncio SSL server http://bugs.python.org/issue29970 opened by kyuupichan #29971: Lock.acquire() not interruptible on Windows http://bugs.python.org/issue29971 opened by pitrou #29972: Skip tests known to fail on AIX http://bugs.python.org/issue29972 opened by haypo #29974: Change typing.TYPE_CHECKING doc example http://bugs.python.org/issue29974 opened by rav #29975: Issue in extending documentation http://bugs.python.org/issue29975 opened by Namjun Kim #29976: urllib.parse clarify what ' ' in schemes mean http://bugs.python.org/issue29976 opened by orsenthil #29979: cgi.parse_multipart is not consistent with FieldStorage http://bugs.python.org/issue29979 opened by quentel #29980: OSError: multiple exceptions should preserve the exception typ http://bugs.python.org/issue29980 opened by r.david.murray #29981: Update Index for set, dict, and generator 'comprehensions' http://bugs.python.org/issue29981 opened by terry.reedy #29982: tempfile.TemporaryDirectory fails to delete itself http://bugs.python.org/issue29982 opened by max #29983: Reference TOC: expand 'Atoms' and 'Primaries' http://bugs.python.org/issue29983 opened by terry.reedy #29984: Improve test coverage for 'heapq' module http://bugs.python.org/issue29984 opened by Robert Day #29985: make install doesn't seem to support --quiet http://bugs.python.org/issue29985 opened by chris.jerdonek #29986: Documentation recommends raising TypeError from tp_richcompare http://bugs.python.org/issue29986 opened by Devin Jeanpierre #29987: inspect.isgeneratorfunction not working with partial functions http://bugs.python.org/issue29987 opened by Thomas Antony #29988: (async) with blocks and try/finally are not as KeyboardInterru http://bugs.python.org/issue29988 opened by njs #29989: subprocess.Popen does not handle file-like objects without fil http://bugs.python.org/issue29989 opened by rtpg #29990: Range checking in GB18030 decoder http://bugs.python.org/issue29990 opened by Ma Lin #29991: http client marks valid multipart headers with defects. http://bugs.python.org/issue29991 opened by pareshverma91 #29992: Expose parse_string in JSONDecoder http://bugs.python.org/issue29992 opened by oberstet #29994: site.USER_SITE is None for Windows embeddable Python 3.6 http://bugs.python.org/issue29994 opened by brechtm #29995: re.escape() escapes too much http://bugs.python.org/issue29995 opened by serhiy.storchaka #29996: Use terminal width by default in pprint http://bugs.python.org/issue29996 opened by serhiy.storchaka #29997: Suggested changes for https://docs.python.org/3.6/extending/ex http://bugs.python.org/issue29997 opened by ArthurGoldberg #29998: Pickling and copying ImportError doesn't preserve name and pat http://bugs.python.org/issue29998 opened by serhiy.storchaka #2: repr() of ImportError misses keyword arguments name and path http://bugs.python.org/issue2 opened by serhiy.storchaka #3: Inconsistency in the zlib module http://bugs.python.org/issue3 opened by Ellison Marks #30002: Minor change to https://docs.python.org/3.6/extending/building http://bugs.python.org/issue30002 opened by ArthurGoldberg #30003: Remove hz codec http://bugs.python.org/issue30003 opened by Ma Lin #30004: in regex-howto, improve example on grouping http://bugs.python.org/issue30004 opened by Cristian Barbarosie #30005: Pickling and copying exceptions doesn't preserve non-__dict__ http://bugs.python.org/issue30005 opened by serhiy.storchaka #30006: Deadlocks in `concurrent.futures.ProcessPoolExecutor` http://bugs.python.org/issue30006 opened by tomMoral #30008: Op
[Python-Dev] CPython benchmark status, April 2017
Hi, I'm still working on analyzing past optimizations to guide future optimizations. I succeeded to identify multiple significant optimizations over the last 3 years. At least for me, some were unexpected like "Use the test suite for profile data" which made pickle 1.28x faster and pidigts 1.16x faster. Here is a report of my benchmark work of last weeks. I succeeded to compute benchmarks on CPython master on the period April, 2014-April,2017: we now have have a timeline over 3 years of CPython performance! https://speed.python.org/timeline/ I started to take notes on significant performance changes (speedup and slowdown) of this timeline: http://pyperformance.readthedocs.io/cpython_results_2017.html To identify the change which introduced a significant performance change, I wrote a Python script running a Git bisection: compile CPython, run benchmark, repeat. https://github.com/haypo/misc/blob/master/misc/bisect_cpython_perf.py It uses a configuration file which looks like: --- [config] work_dir = ~/prog/bench_python/bisect-pickle src_dir = ~/prog/bench_python/master old_commit = 133138a284be1985ebd9ec9014f1306b9a42 new_commit = 10427f44852b6e872034061421a8890902b8f benchmark = ~/prog/bench_python/performance/performance/benchmarks/bm_pickle.py pickle benchmark_opts = --inherit-environ=PYTHONPATH -p5 -v configure_args = --- I succeeded to identify many significant optimizations, examples: * PyMem_Malloc() now uses the fast pymalloc allocator * Add a C implementation of collections.OrderedDict * Use the test suite for profile data * Speedup method calls 1.2x * Added C implementation of functools.lru_cache() * Optimized ElementTree.iterparse(); it is now 2x faster perf, performance, server configuration, etc. evolve quicker than expected, so I created a Git project to keep a copy of JSON files: https://github.com/haypo/performance_results I lost data of my first milestone (november-december 2016), but you have data from the second (december 2016-february 2017) and third (march 2016-today) milestones. Victor ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] CPython benchmark status, April 2017
On 4/7/2017 12:27 PM, Victor Stinner wrote: I succeeded to compute benchmarks on CPython master on the period April, 2014-April,2017: we now have have a timeline over 3 years of CPython performance! https://speed.python.org/timeline/ The boxes are un-scaled. Is vertical always 'time for fixed work', so lower is always better? The vertical variation is a small fraction of vertical space, so most vertical space is wasted. Box says 'last 50', but only 13 results. These cover last 3 years? -- Terry Jan Reedy ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] CPython benchmark status, April 2017
2017-04-07 20:50 GMT+02:00 Terry Reedy : > The boxes are un-scaled. Which page? "Display All in a grid" has no scale, but if you select a single benchmark, there are scales. It's a number of seconds: "(less is better)" as written on the Y scale. > Is vertical always 'time for fixed work', so lower is always better? Yes. > The vertical variation is a small fraction of vertical space, so most > vertical space is wasted. I don't well the website part, please see the https://github.com/tobami/codespeed/ project. > Box says 'last 50', but only 13 results. These cover last 3 years? Currently, the oldest result is the commit 0cf3ed60d089cf2a2671fa66cdaa18498091: April 1, 2014. I'm unable to count the exact number of dots :-D On the special "Display All in a grid" view, you cannot select the number of results. I don't know how many results are displayed: 50 max I think. If you select a benchmark, 50 results max are displayed. Currently, it's enough to over 3 years. Victor ___ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
