On Thu, 14 Aug 2008, Linus Torvalds wrote:
> Btw, it's not that hard to run oprofile (link git statically to get better
OK, inflate went down since last time I profiled this, but that's
probably because lookup_object went up.
> so most of it is in inflate,
Which, again, would be eliminated entirely by pack v4.
> but I suspect the cost of "lookup_object()"
One optimization with pack v4 was to have delta chunks aligned on tree
records, and because tree objects are no longer compressed, parsing a
tree object could be done by simply walking the delta chain directly.
Then, another optimization would consist of simply skipping any part of
a tree object making a delta reference to a base object which has
already been parsed which would avoid a large bunch of lookup_object()
calls too.
And because
delta base objects are normally seen first in recency order then this
would reduce the combinatorial complexity significantly.
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | -mm merge plans for 2.6.23 |
| David Miller | Re: [BUG] New Kernel Bugs |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | Re: Linux 2.6.21-rc4 |
git: | |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Eric W. Biederman | [PATCH] macvlan: Support creating macvlans from macvlans |
