From: "Shawn O. Pearce" <spearce@spearce.org>
To: Robin Rosenberg <robin.rosenberg@dewire.com>
Cc: git@vger.kernel.org
Subject: [JGIT PATCH 0/5] Fix major performance problems in UploadPack
Date: Fri, 12 Jun 2009 16:00:14 -0700 [thread overview]
Message-ID: <1244847619-7364-1-git-send-email-spearce@spearce.org> (raw)
If the client is really far ahead of the server, JGit's UploadPack
can spend a massive amount of CPU time on the server just doing the
same work over and over again. This series addresses the issue by
taking advantage of cached data more frequently.
Shawn O. Pearce (5):
Make RevTag getObject(), getName() final to prevent overrides
Allow exceptions to be created with integer type codes
Unify RevWalk parsing code to be more consistent across types
Change RevObject dispose() semantics to avoid reparses
UploadPack: Only recompute okToGiveUp() if bases changed
.../org/spearce/jgit/revwalk/RevWalkTestCase.java | 2 +-
.../jgit/errors/IncorrectObjectTypeException.java | 13 +++
.../jgit/errors/MissingObjectException.java | 12 +++
.../src/org/spearce/jgit/lib/PackWriter.java | 3 +-
.../spearce/jgit/revwalk/BoundaryGenerator.java | 2 +-
.../spearce/jgit/revwalk/MergeBaseGenerator.java | 2 +-
.../src/org/spearce/jgit/revwalk/ObjectWalk.java | 4 +-
.../org/spearce/jgit/revwalk/PendingGenerator.java | 6 +-
.../src/org/spearce/jgit/revwalk/RevBlob.java | 5 -
.../src/org/spearce/jgit/revwalk/RevCommit.java | 29 ++++----
.../src/org/spearce/jgit/revwalk/RevObject.java | 34 ++++++--
.../src/org/spearce/jgit/revwalk/RevTag.java | 32 ++++----
.../src/org/spearce/jgit/revwalk/RevTree.java | 5 -
.../src/org/spearce/jgit/revwalk/RevWalk.java | 82 ++++++++++++++-----
.../spearce/jgit/revwalk/RewriteTreeFilter.java | 2 +-
.../src/org/spearce/jgit/transport/UploadPack.java | 31 +++++---
.../jgit/transport/WalkFetchConnection.java | 15 +---
17 files changed, 179 insertions(+), 100 deletions(-)
next reply other threads:[~2009-06-12 23:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-12 23:00 Shawn O. Pearce [this message]
2009-06-12 23:00 ` [JGIT PATCH 1/5] Make RevTag getObject(), getName() final to prevent overrides Shawn O. Pearce
2009-06-12 23:00 ` [JGIT PATCH 2/5] Allow exceptions to be created with integer type codes Shawn O. Pearce
2009-06-12 23:00 ` [JGIT PATCH 3/5] Unify RevWalk parsing code to be more consistent across types Shawn O. Pearce
2009-06-12 23:00 ` [JGIT PATCH 4/5] Change RevObject dispose() semantics to avoid reparses Shawn O. Pearce
2009-06-12 23:00 ` [JGIT PATCH 5/5] UploadPack: Only recompute okToGiveUp() if bases changed Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1244847619-7364-1-git-send-email-spearce@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).