From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8595 invoked by alias); 1 Feb 2015 23:33:46 -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 8575 invoked by uid 89); 1 Feb 2015 23:33:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f54.google.com Received: from mail-oi0-f54.google.com (HELO mail-oi0-f54.google.com) (209.85.218.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 01 Feb 2015 23:33:44 +0000 Received: by mail-oi0-f54.google.com with SMTP id v63so41913321oia.13 for ; Sun, 01 Feb 2015 15:33:42 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.202.212.66 with SMTP id l63mr9606215oig.117.1422833622665; Sun, 01 Feb 2015 15:33:42 -0800 (PST) Received: by 10.182.46.193 with HTTP; Sun, 1 Feb 2015 15:33:42 -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, 01 Feb 2015 23:33: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/msg00003.txt.bz2 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