Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Lea Wiemann <lewiemann@...>
Cc: Rafael Garcia-Suarez <rgarciasuarez@...>, <git@...>, Luben Tuikov <ltuikov@...>
Date: Sunday, June 8, 2008 - 4:28 pm

On Sun, 8 Jun 2008, Lea Wiemann wrote:

If caching is enabled, then parent info can be retrieved from cache.
If caching is disabled, or cache expired (cache miss) you would have
to get whole blame output to get all revisions to get parents for.
This means for a short while twice amount of memory (whole blame in
git-blame, because thats how non-incremental blame works, and whole
blame in gitweb, till reading last byte of blame when git-blame ends);
and that is not good when memory-based cache (be it memcache, mmap,
or other solution) is on the same machine (sometimes you just don't
have a farm of servers...).

Junio's patches adding "previous" header to git blame result in no
worse output (result) than current code.  I have proposed improvements,
but I'm not sure they can be implemented cheaply (fairly sure that they
cannot, and I'm not sure if improvements are worth the cost).  I'd like
to know what happens in Junio code when evil merge is blamed; I don't
know code enough (and I am a bit lazy here) to get this from code
itself.

-- 
Jakub Narebski
Poland
--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Avoid errors from git-rev-parse in gitweb blame, Rafael Garcia-Suarez, (Tue Jun 3, 6:46 am)
Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame, Rafael Garcia-Suarez, (Tue Jun 3, 8:03 am)
Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame, Jakub Narebski, (Sun Jun 8, 4:28 pm)
Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame, Rafael Garcia-Suarez, (Tue Jun 3, 9:00 am)
Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame, Rafael Garcia-Suarez, (Tue Jun 3, 9:36 am)
Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame, Rafael Garcia-Suarez, (Tue Jun 3, 10:40 am)
Re: [PATCH] Avoid errors from git-rev-parse in gitweb blame, Rafael Garcia-Suarez, (Tue Jun 3, 11:07 am)