This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [python] Optimize python_string_to_host_string() for Python 2.
- From: "Yichun Zhang (agentzh)" <agentzh at gmail dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Sun, 1 Feb 2015 15:33:42 -0800
- Subject: Re: [PATCH] [python] Optimize python_string_to_host_string() for Python 2.
- Authentication-results: sourceware.org; auth=none
- References: <1421217481-18204-1-git-send-email-agentzh at gmail dot com>
Hi
On Tue, Jan 13, 2015 at 10:38 PM, Yichun Zhang (agentzh) wrote:
> With the following patch, my most complicated Python tools
> finally have comparable performance between Python 2 and
> Python 3. In the case of Python 2, some real-world Python scripts'
> overall speedup can be as big as 34% (for my "lgcpath" command [3])
> or even 57% (for my "lgcstat" command [4]). And from the new Flame
> Graph [5], we can see that the corresponding function frames are
> indeed gone.
ping :)
-agentzh