From: Matthias Urlichs Subject: Re: Is cogito really this inefficient Date: Wed, 13 Jul 2005 18:51:30 +0200 Organization: {M:U} IT Consulting Message-ID: References: <20050713135052.C6791@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-From: git-owner@vger.kernel.org Wed Jul 13 19:04:45 2005 Return-path: Received: from vger.kernel.org ([12.107.209.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dskec-0007wI-A0 for gcvg-git@gmane.org; Wed, 13 Jul 2005 19:04:14 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261412AbVGMRBg (ORCPT ); Wed, 13 Jul 2005 13:01:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261295AbVGMRBW (ORCPT ); Wed, 13 Jul 2005 13:01:22 -0400 Received: from main.gmane.org ([80.91.229.2]:21957 "EHLO ciao.gmane.org") by vger.kernel.org with ESMTP id S261326AbVGMQwj (ORCPT ); Wed, 13 Jul 2005 12:52:39 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DskSt-0005ym-R9 for git@vger.kernel.org; Wed, 13 Jul 2005 18:52:07 +0200 Received: from run.smurf.noris.de ([192.109.102.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2005 18:52:07 +0200 Received: from smurf by run.smurf.noris.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2005 18:52:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: git@vger.kernel.org X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: run.smurf.noris.de User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-Face: '&-&kxR\8+Pqalw@VzN\p?]]eIYwRDxvrwEM This says it all. 1min 22secs to generate a patch from a locally > modified but uncommitted file. I only get that when the index is out-of-date WRT the file modification dates, so cg-diff has to examine every file. The good news is that the index is being updated as it finds that the files are in sync, so expect this to be significantly faster the next time around. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Praise the sea; on shore remain. -- John Florio