git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 3/3] git-p4: improve submit performance on new P4 servers

From
PEPal-Kristian Engstad <pal_engstad@naughtydog.com>
Date
Jan 22, 2010, 02:58 UTC
Message-ID
<4B591455.7050409@naughtydog.com>
In-Reply-To
<alpine.LFD.2.00.1001212147480.1726@xanadu.home>
Nicolas Pitre wrote:
Show 9 quoted lines
> On Thu, 21 Jan 2010, Pal-Kristian Engstad wrote:
> 
>> Improve git-p4 submit performance on newer (from 2009.2) Perforce
>> servers by changing "p4 diff -du" to "p4 diff -dub". This change is
>> harmless since the output is only used for display purposes.
>>
>> Signed-off-by: Pal-Kristian Engstad <pal_engstad@naughtydog.com>
> 
> Why is the b flag impacting performance?

That's a very good question. The release notes say that they've been changing how 'p4 diff -du' works, but the net effect of it all is that it stats all files in the whole working set. For large projects, this takes forever. We say pauses of 3 minutes per submit...

> And even if for display purposes, why might you wish not to see 
> differences in whitespace changes?
That's a good point, but what alternative is there?
PKE
-- 
Pål-Kristian Engstad (engstad@naughtydog.com), 
Lead Graphics & Engine Programmer,
Naughty Dog, Inc., 1601 Cloverfield Blvd, 6000 North,
Santa Monica, CA 90404, USA. Ph.: (310) 633-9112.

"Emacs would be a far better OS if it was shipped with 
 a halfway-decent text editor." -- Slashdot, Dec 13. 2005.
Previous: Nicolas PitreNext: Nicolas Pitre
Message 3 of 4 in “git-p4: improve submit performance on new P4 servers”
  1. 3/3 git-p4: improve submit performance on new P4 serversPal-Kristian Engstad, Jan 22, 2010
  2. Nicolas PitreJan 22, 2010
  3. Pal-Kristian EngstadJan 22, 2010
  4. Nicolas PitreJan 22, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.