Skip to content

gitweb: Bulk load commit objects

Robert Fitzsimons git 1 version In review

Get series with b4
b4 am 20061224143041.GF11474@localhost

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8gitweb: Add parse_commits, used to bulk load commit objects.gitweb/gitweb.perl+74 -170 replies
2/8gitweb: We do longer need the --parents flag in rev-list.gitweb/gitweb.perl+6 -52 replies
3/8gitweb: Change summary, shortlog actions to use parse_commits.gitweb/gitweb.perl+12 -220 replies
4/8gitweb: Change log action to use parse_commits.gitweb/gitweb.perl+14 -110 replies
5/8gitweb: Change header search action to use parse_commits.gitweb/gitweb.perl+9 -140 replies
6/8gitweb: Change atom, rss actions to use parse_commits.gitweb/gitweb.perl+7 -110 replies
7/8gitweb: Change history action to use parse_commits.gitweb/gitweb.perl+9 -180 replies
8/8gitweb: Use rev-list --skip option.gitweb/gitweb.perl+1 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] gitweb: Bulk load commit objects

The following is a set of patchs which should improve the preformance of gitweb by bulk loading commit objects.

Note's:
* With a slight change in command line options and the parsing logic it was possible to bulk load the history action aswell.

* Even without the rev-list --skip option there should be some improvement as it is possible to bulk load the first page of commit object.

[PATCH 1/8] gitweb: Add parse_commits, used to bulk load commit objects. [PATCH 2/8] gitweb: We do longer need the --parents flag in rev-list.

Base support for bulk loading commit objects.

[PATCH 3/8] gitweb: Change summary, shortlog actions to use parse_commits. [PATCH 4/8] gitweb: Change log action to use parse_commits. [PATCH 5/8] gitweb: Change header search action to use parse_commits. [PATCH 6/8] gitweb: Change atom, rss actions to use parse_commits. [PATCH 7/8] gitweb: Change history action to use parse_commits.

Convert all the commit listing actions (except pickaxe search) to use parse_commits, also fixes up a few nav links.

[PATCH 8/8] gitweb: Use rev-list --skip option.

This change requires the rev-list --skip change from next to have been merged.

Robert