From: "Roger C. Soares" <rogersoares@intelinet.com.br>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: Robin Rosenberg <robin.rosenberg@dewire.com>, git@vger.kernel.org
Subject: Re: faster egit history page and a pure java "gitk"
Date: Tue, 25 Mar 2008 10:46:46 -0300 [thread overview]
Message-ID: <47E90246.3030509@intelinet.com.br> (raw)
In-Reply-To: <20080325053649.GE4759@spearce.org>
Shawn O. Pearce escreveu:
> Hmm. How long does C Git take for "git rev-list HEAD >/dev/null" ?
> I have thus far only tuned the lower level machinary, and there
> may still be tuning left there, but I _really_ have not tried to
> tune the plotting portion yet.
>
I'll do that when I get back home, but I think it should be fast. At
least gitk was showing the repo fast enough, from calling it from the
command line and gitk stoping visible activity, I'd say around 2 or 3
seconds.
Maybe my problem was with the plotting part. I was running on linux.
> Another thing is how many pack files/loose objects do you have?
> The loose objects are harder to access, and jgit is currently
> lacking some of the pack search tricks that C Git uses to get
> good performance. As such all of my testing has been working on
> a fully packed repository that has exactly one packfile in it,
> with no alternates.
>
I made a clone of it and never changed it. Don't recall making fetches
either, so it should be in good shape. I can confirm later.
> Oversight/planned loss of feature. I'm a strong believer of showing
> the commit message *exactly* as recorded, which means don't do
> line wrapping of it. Things like character encoding translation
> and indenting the left side 2-4 spaces to keep it unambiguous from
> headers is fine when showing it to a human, but otherwise it should
> match what the user wrote.
>
> I forgot to offer a wrap option. If we do enable line wrapping I
> think we should give the user a way to toggle it on/off for the
> message area viewer so that if line wrapping is enabled and its
> borking the current message (e.g. a nice pretty ASCII diagram)
> you can disable it.
>
I understand that you guys use a lot of ASCII art and wrapping can mess
this. But here we track more things in bugzilla and there's some
copy&pasting going on, so wrapping makes comments more readable.
Currently it's a toogle preference in the local toolbar menu (like the
CVS plugin).
I left the comment on the right side because it's easy to set/unset
wrapping for the whole viewer, and also for consistency with the CVS/SVN
plugins, I still use them :)
My last patches also added the changed files in the left pane as text.
The next step would be to add links. Before doing this I thought about
adding a table there (like what you did) but I chose text with links
because of copy&paste, I find it convenient to paste selected commit
info into IM or email.
[]s,
Roger.
next prev parent reply other threads:[~2008-03-25 13:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-24 9:27 faster egit history page and a pure java "gitk" Shawn O. Pearce
2008-03-24 13:33 ` Roger C. Soares
2008-03-24 14:10 ` Robin Rosenberg
2008-03-25 4:43 ` Shawn O. Pearce
2008-03-25 12:33 ` Roger C. Soares
2008-03-24 14:06 ` Robin Rosenberg
2008-03-25 5:10 ` Shawn O. Pearce
2008-03-24 14:31 ` faster egit history page and a pure java "gitk" so Robin Rosenberg
2008-03-25 4:48 ` Shawn O. Pearce
2008-03-25 5:07 ` faster egit history page and a pure java "gitk" Roger C. Soares
2008-03-25 5:36 ` Shawn O. Pearce
2008-03-25 8:09 ` Shawn O. Pearce
2008-03-25 13:46 ` Roger C. Soares [this message]
2008-03-25 19:48 ` Robin Rosenberg
2008-03-26 1:37 ` Roger C. Soares
2008-03-26 4:52 ` 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=47E90246.3030509@intelinet.com.br \
--to=rogersoares@intelinet.com.br \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
--cc=spearce@spearce.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.