From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261684AbVCCM0o (ORCPT ); Thu, 3 Mar 2005 07:26:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261640AbVCCMYn (ORCPT ); Thu, 3 Mar 2005 07:24:43 -0500 Received: from krusty.dt.e-technik.Uni-Dortmund.DE ([129.217.163.1]:1934 "EHLO mail.dt.e-technik.uni-dortmund.de") by vger.kernel.org with ESMTP id S261554AbVCCMT1 convert rfc822-to-8bit (ORCPT ); Thu, 3 Mar 2005 07:19:27 -0500 MIME-Version: 1.0 To: torvalds@osdl.org Subject: BK-kernel-tools/shortlog update CC: linux-kernel@vger.kernel.org, matthias.andree@gmx.de, samel@mail.cz From: Matthias Andree Content-ID: Content-Type: text/plain; charset=US-ASCII Content-Description: An object packed by metasend Content-Transfer-Encoding: 7BIT Message-Id: <20050303121920.1E8B9774D8@merlin.emma.line.org> Date: Thu, 3 Mar 2005 13:19:20 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello Linus, this patch speeds up your "stupid release" script; in fact the hog was in changelog itself the use of bk prs; this is known to be slow, and I'd asked Larry if bk changes (which is A LOT faster) would have the same effect months ago, and he approved using bk changes after bk set -d. So I've switched your "changelog" script and diffed the output of changelog v2.6.11-rc5 to v2.6.11 and found no changes in the output, but a massive decrease in time taken: changelog speed for Linux v2.6.11-rc5 to v2.6.11 is down from 51s at 97% CPU to 6.5s at 46% CPU on a system with 7200/min IDE HDD and Athlon XP 2500+. ------ You can either use "bk receive" to patch with this mail, or you can Pull from: bk://krusty.dt.e-technik.uni-dortmund.de/BK-kernel-tools or in cases of dire need, you can apply the patch below. BK: Parent repository is http://bktools.bkbits.net/bktools Patch description: ChangeSet@1.278, 2005-03-03 13:15:55+01:00, matthias.andree@gmx.de Add one address -> name mapping. ChangeSet@1.277, 2005-03-03 13:13:10+01:00, matthias.andree@gmx.de Major speed up for generating changelog output. ChangeSet@1.276, 2005-03-03 12:36:39+01:00, matthias.andree@gmx.de Cosmetic: make ==== underline as long as the title "Summary of changes from ... to ...". Matthias ------------------------------------------------------------------------ ##### DIFFSTAT ##### changelog | 4 ++-- shortlog | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) ##### GNUPATCH ##### --- 1.6/changelog 2002-05-13 17:51:44 +02:00 +++ 1.8/changelog 2005-03-03 13:13:09 +01:00 @@ -17,6 +17,6 @@ fi echo echo Summary of changes from $FROMNAME to $TONAME -echo ============================================ +echo Summary of changes from $FROMNAME to $TONAME | sed -e 's/./=/g' echo -bk set -n -d -r"$FROM" -r"$TO" | bk -R prs -h -d'$unless(:MERGE:){<:P:@:HOST:>\n$each(:C:){\t(:C:)\n}\n}' - +bk set -d -r"$FROM" -r"$TO" | bk changes -aefd'$unless(:MERGE:){<:P:@:HOST:>\n$each(:C:){\t(:C:)\n}\n}' - --- 1.242/shortlog 2005-02-23 15:43:14 +01:00 +++ 1.243/shortlog 2005-03-03 13:15:54 +01:00 @@ -506,6 +506,7 @@ 'c-d.hailfinger.kernel.2002-q4:gmx.net' => 'Carl-Daniel Hailfinger', # himself 'c-d.hailfinger.kernel.2003:gmx.net' => 'Carl-Daniel Hailfinger', # himself 'c-d.hailfinger.kernel.2004:gmx.net' => 'Carl-Daniel Hailfinger', +'c.lucas@com.rmk.(none)' => 'Christophe Lucas', 'c.lucas:ifrance.com' => 'Christophe Lucas', 'cagle:mindspring.com' => 'John Cagle', # Alan 'calum.mackay:cdmnet.org' => 'Calum Mackay', # lbdb ##### BKPATCH ##### ## Wrapped with gzip_b64 ## H4sIAMcAJ0ICA9VXbVPjNhD+jH/FTo5OuOHsSLZlx56GgUtyB3NQmAAz/cAXYSuxS2xlLJmX qfvfu7YhATrpFUqHXrKxLVla7e7z6LHzAQ5G4YaWxTWfx2p3IfJZmeaWLniuMqG5FcmsGiY8 n4lToSubEBu/1HaIx4LKDjzGKmELxiKX8ku/74vIN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