From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7275 invoked by alias); 22 Feb 2015 18:01:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7265 invoked by uid 89); 22 Feb 2015 18:01:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ob0-f174.google.com Received: from mail-ob0-f174.google.com (HELO mail-ob0-f174.google.com) (209.85.214.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 22 Feb 2015 18:01:25 +0000 Received: by mail-ob0-f174.google.com with SMTP id wo20so32298198obc.5 for ; Sun, 22 Feb 2015 10:01:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.19.167 with SMTP id g7mr5000278obe.75.1424628083304; Sun, 22 Feb 2015 10:01:23 -0800 (PST) Received: by 10.182.219.202 with HTTP; Sun, 22 Feb 2015 10:01:23 -0800 (PST) In-Reply-To: <1421217481-18204-1-git-send-email-agentzh@gmail.com> References: <1421217481-18204-1-git-send-email-agentzh@gmail.com> Date: Sun, 22 Feb 2015 18:01:00 -0000 Message-ID: Subject: Re: [PATCH] [python] Optimize python_string_to_host_string() for Python 2. From: "Yichun Zhang (agentzh)" To: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00631.txt.bz2 Hello! 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 Regards, -agentzh