Speedup with history-db
Eli Zaretskii
eliz at gnu.org
Sat Jun 4 07:54:45 UTC 2011
> Date: Tue, 31 May 2011 20:27:01 +0300
> From: Eli Zaretskii <eliz at gnu.org>
> Cc: bazaar at lists.canonical.com
>
> > Date: Tue, 31 May 2011 16:25:31 +0200
> > From: John Arbash Meinel <john at arbash-meinel.com>
> > CC: bazaar at lists.canonical.com
> >
> > > Fair enough. The only use cases that really bothers me is this
> > >
> > > bzr log --include-merges -c REVISION
> > >
> > > This is something I do quite a lot, because I like to know what went
> > > into merge commits and people tend to not describe that adequately in
> > > the log message of the merge. This command does not mention dotted
> > > revnos, only revisions on the mainline (I do understand that -
> > > --include-merges is a reference to dotted revnos in disguise). The
> > > output of the above command must be accurate, otherwise I will be
> > > forced to use --no-plugins, because I cannot trust the output. It
> > > would be nice if it could be fast as well, but accuracy is more
> > > important.
> > >
> > > Thanks.
> >
> > That still works. The example that fails is:
> >
> > bzr log -rDO.TT.ED..X
> >
> > - -c X will always use 2 mainline revisions.
>
> Not with the specific revision I somehow managed to find:
>
> bzr log --include-merges -c104363
>
> Several other merge-commits I tried indeed work (and are about 15
> times faster with the plugin than without it). But this single
> revision 104363 causes trouble. Could you please take a look at the
> above command with that specific revision on the Emacs trunk?
Same thing happens with revision 104482, committed today to the Emacs
trunk. Since the output is relatively short, I will show it here
(below). You can see as the output with the plugin shows much more
revisions than expected.
Could you please take a look at these two instances? Other than that,
the plugin seems to work just great, and slashes the times for "bzr
log" and "bzr status" by very large factors.
Here's the output with and without the plugin:
Without the plugin:
D:\gnu\bzr\emacs\trunk>bzr --no-plugins log -c104482 --include-merges --line
104482: Eli Zaretskii 2011-06-04 [merge] Support bidi reordering of text cov...
104182.1.10: Eli Zaretskii 2011-06-03 Cleanup. Tested in -nw and verified...
104182.1.9: Eli Zaretskii 2011-05-31 src/xdisp.c (single_display_spec_stri...
104182.1.8: Eli Zaretskii 2011-05-28 Fix cursor motion across display stri...
104182.1.7: Eli Zaretskii 2011-05-28 Fix cursor motion near overlays cover...
104182.1.6: Eli Zaretskii 2011-05-28 src/xdisp.c (compute_display_string_p...
104182.1.5: Eli Zaretskii 2011-05-21 Discovery of replacing display proper...
104182.1.4: Eli Zaretskii 2011-05-14 Remove kludgey save and restore of IT...
104182.1.3: Eli Zaretskii 2011-05-14 Text covered by `display' overlays is...
104182.1.2: Eli Zaretskii 2011-05-14 Refactoring with bidi_fetch_char test...
104182.1.1: Eli Zaretskii 2011-05-10 Started work on reordering display st...
With the plugin:
D:\gnu\bzr\emacs\trunk>bzr log -c104482 --include-merges --line
104482: Eli Zaretskii 2011-06-04 [merge] Support bidi reordering of text cov...
104182.1.10: Eli Zaretskii 2011-06-03 Cleanup. Tested in -nw and verified...
104182.1.9: Eli Zaretskii 2011-05-31 src/xdisp.c (single_display_spec_stri...
104182.1.8: Eli Zaretskii 2011-05-28 Fix cursor motion across display stri...
104182.1.7: Eli Zaretskii 2011-05-28 Fix cursor motion near overlays cover...
104182.1.6: Eli Zaretskii 2011-05-28 src/xdisp.c (compute_display_string_p...
104182.1.5: Eli Zaretskii 2011-05-21 Discovery of replacing display proper...
104182.1.4: Eli Zaretskii 2011-05-14 Remove kludgey save and restore of IT...
104182.1.3: Eli Zaretskii 2011-05-14 Text covered by `display' overlays is...
104182.1.2: Eli Zaretskii 2011-05-14 Refactoring with bidi_fetch_char test...
104182.1.1: Eli Zaretskii 2011-05-10 Started work on reordering display st...
104480: Paul Eggert 2011-06-02 [merge] Merge: memory_full, gnutls improvements
104431.1.10: Paul Eggert 2011-06-02 Merge ChangeLog from trunk better.
104431.1.9: Paul Eggert 2011-06-02 * alloc.c (allocate_vectorlike): Adjust...
104431.1.8: Paul Eggert 2011-06-02 [merge] Merge from trunk.
104431.1.7: Paul Eggert 2011-05-31 Fix ChangeLog entry order.
104431.1.6: Paul Eggert 2011-05-31 [merge] Merge from trunk.
104431.1.5: Paul Eggert 2011-05-31 Add bug#.
104431.1.4: Paul Eggert 2011-05-30 [ChangeLog]
104431.1.3: Paul Eggert 2011-05-30 [merge] Merge from trunk.
104431.1.2: Paul Eggert 2011-05-30 Add Bug#.
104431.1.1: Paul Eggert 2011-05-30 * gnutls.c: Use Emacs's memory allocators.
104479: Juanma Barranquero 2011-06-02 Silence warning for unused `dotimes' c...
104478: Glenn Morris 2011-06-02 Auto-commit of loaddefs files.
104477: Paul Eggert 2011-06-02 * lib/allocator.h, lib/careadlinkat.c: Merge ...
104476: Paul Eggert 2011-06-02 [merge] Merge: Remove arbitrary limit of 2**3...
104390.2.6: Paul Eggert 2011-06-02 [merge] Merge from trunk.
104390.2.5: Paul Eggert 2011-05-31 Adjust ChangeLog as per Stefan's sugges...
104390.2.4: Paul Eggert 2011-05-31 Add Bug#.
104390.2.3: Paul Eggert 2011-05-31 Remove arbitrary limit of 2**31 entries...
104390.2.2: Paul Eggert 2011-05-31 [merge] Merge from trunk.
104390.2.1: Paul Eggert 2011-05-29 [merge] Merge from trunk.
104475: Stefan Monnier 2011-06-02 * lisp/net/tramp.el (tramp-with-progress-r...
104455: Juanma Barranquero 2011-05-31 src/makefile.w32-in: Update dependencies.
104454: Juanma Barranquero 2011-05-31 lib/getopt_.h: Regenerate.
104453: Stefan Monnier 2011-05-31 * lisp/emacs-lisp/debug.el (debug): Save&r...
104452: Helmut Eller 2011-05-31 * debug.el (debug): Restore the previous con...
104451: Dan Nicolaescu 2011-05-31 * src/data.c (init_data): Remove code for ...
104450: Dan Nicolaescu 2011-05-31 Don't force ./temacs to start in terminal ...
104449: Dan Nicolaescu 2011-05-31 Use const for a string pointer.
104448: Ted Zlatanov 2011-05-31 * url-future.el: Add general futures facility.
104447: Katsumi Yamaoka 2011-05-31 gnus-sum.el (gnus-summary-exit): Make sur...
104446: Glenn Morris 2011-05-31 Auto-commit of generated files.
104445: Paul Eggert 2011-05-31 * ccl.c: Improve comment. (Bug#8751)
104444: Paul Eggert 2011-05-31 [merge] Use 'inline', not 'INLINE'.
104413.1.4: Paul Eggert 2011-05-31 [merge] Merge from trunk.
104413.1.3: Paul Eggert 2011-05-31 [merge] Merge from trunk.
104413.1.2: Paul Eggert 2011-05-30 [merge] Merge from trunk.
104413.1.1: Paul Eggert 2011-05-28 [ChangeLog]
104443: Dan Nicolaescu 2011-05-31 Make it possible to run ./temacs.
104442: Stefan Monnier 2011-05-31 * lisp/minibuffer.el: Add metadata method ...
104441: Paul Eggert 2011-05-31 * ccl.c (CCL_CODE_RANGE): Allow negative numb...
104440: Lars Magne Ingebr... 2011-05-30 Merge changes made in Gnus trunk.
104439: Stefan Monnier 2011-05-30 * lisp/mail/smtpmail.el (smtpmail-send-dat...
104438: Stefan Monnier 2011-05-30 * lisp/gnus/mml1991.el (mml1991-mailcrypt-...
104437: Stefan Monnier 2011-05-30 * bytecomp.el (byte-compile-defvar): Add n...
104436: Oliver Scholz 2011-05-30 * leim/quail/ipa-praat.el: New input method.
104435: Paul Eggert 2011-05-30 * alloc.c (lisp_align_malloc): Omit unnecessa...
104434: Leo Liu 2011-05-30 Decode all incoming messages in rcirc.el
104433: Leo Liu 2011-05-30 Use a visible buffer name for rcirc-debug-buffer
104432: Glenn Morris 2011-05-30 Auto-commit of generated files.
104431: Paul Eggert 2011-05-30 * eval.c (Qdebug): Now static.
104430: Gnus developers 2011-05-29 shr.el (shr-urlify): Use shr-add-font to ...
104429: Glenn Morris 2011-05-29 [merge] Merge from emacs-23; up to r100589.
99634.2.955: Chong Yidong 2011-05-29 Tweaks to lisp manual to remove over/...
104428: Paul Eggert 2011-05-29 [merge] Merge: Adjust to recent gnulib change...
104421.1.2: Paul Eggert 2011-05-29 Adjust to recent gnulib change for @GUA...
104421.1.1: Paul Eggert 2011-05-29 [merge] Merge from trunk.
104427: Chong Yidong 2011-05-29 Fix animated gifs (Bug#6981).
104425: Martin Rudalics 2011-05-29 * menu-bar.el (kill-this-buffer-enabled-p...
104423: Chong Yidong 2011-05-29 Clarify Remapping Commands node in Lisp manu...
104421: Deniz Dogan 2011-05-29 * net/rcirc.el (rcirc): Use the user's stored...
104420: Paul Eggert 2011-05-29 [merge] Merge: Minor fixes prompted by GCC 4....
104390.1.8: Paul Eggert 2011-05-29 Minor fixes prompted by GCC 4.6.0 warni...
104390.1.7: Paul Eggert 2011-05-29 * emacs.c [HAVE_X_WINDOWS]: Include "xt...
104390.1.6: Paul Eggert 2011-05-29 [merge] Merge from trunk.
104390.1.5: Paul Eggert 2011-05-29 [merge] Merge from trunk.
104390.1.4: Paul Eggert 2011-05-28 [merge] Merge from trunk.
104390.1.3: Paul Eggert 2011-05-28 [merge] Merge from trunk.
104390.1.2: Paul Eggert 2011-05-28 [merge] Merge from trunk.
104390.1.1: Paul Eggert 2011-05-28 [merge] Merge from trunk.
104419: Leo Liu 2011-05-29 Add option :named to defstruct in url-cookie.el
104418: Chong Yidong 2011-05-29 Move clipboard-manager functionality out of ...
104417: Chong Yidong 2011-05-28 Make first mode-line dash an empty space on ...
104416: Chong Yidong 2011-05-28 * startup.el (normal-splash-screen): Remove ...
104415: Chong Yidong 2011-05-28 * lisp/newcomment.el (comment-end-skip): Doc...
104414: Leo Liu 2011-05-28 New major mode: Occur Edit mode.
104413: Alp Aker 2011-05-28 Additional minor fix to (Bug#8539).
104412: Chong Yidong 2011-05-28 * doc/lispref/minibuf.texi (Reading File Nam...
104411: Kevin Ryde 2011-05-28 * lisp/subr.el (def-edebug-spec): Doc fix (Bug...
104410: Chong Yidong 2011-05-28 Tweak auto-mode-alist to handle config.h.in ...
104409: Alp Aker 2011-05-28 Use Buffer-menu-buffer-column to replace hard-co...
104408: Chong Yidong 2011-05-28 Remove antediluvian filename limit recommend...
104407: Chong Yidong 2011-05-28 * emacs-lisp/re-builder.el (re-builder): Imp...
104406: Dima Kogan 2011-05-28 More fixes to prevent hide-show from being con...
104405: Chong Yidong 2011-05-28 Document prog-mode-hook in Emacs manual.
104404: Glenn Morris 2011-05-28 * lisp/startup.el (fancy-about-screen): Use ...
104403: Glenn Morris 2011-05-28 * admin/notes/bzr: Your very own Loggerhead ...
104402: Chong Yidong 2011-05-28 In describe-function, print the parent of a ...
104401: Chong Yidong 2011-05-28 Make CC modes inherit from prog-mode.
104422: Chong Yidong 2011-05-29 Doc fixes for imagemagick support code.
104424: Eli Zaretskii 2011-05-29 src/font.[ch]: Fix typos in comments and st...
104426: Eli Zaretskii 2011-05-29 src/coding.c: Fix a typo in a comment.
104456: Lars Magne Ingebr... 2011-05-31 Add the tiny convenience function `p...
104457: Lars Magne Ingebr... 2011-05-31 (url-queue-parallel-processes): Incr...
104458: Stefan Monnier 2011-05-31 * lisp/minibuffer.el (complete-with-action...
104459: Gnus developers 2011-05-31 Merge changes made in Gnus trunk.
104460: Katsumi Yamaoka 2011-06-01 Update.
104461: Glenn Morris 2011-06-01 * lisp/mail/emacsbug.el (report-emacs-bug-ho...
104462: Glenn Morris 2011-06-01 Use derived-mode-p in previous change.
104463: Leo Liu 2011-06-01 Fix last change on rcirc-print and rcirc-decode-c...
104464: Glenn Morris 2011-06-01 Auto-commit of loaddefs files.
104465: Stefan Monnier 2011-06-01 Miscellaneous tweaks.
104466: Stefan Monnier 2011-06-01 * lisp/thingatpt.el (forward-whitespace): ...
104467: Stefan Monnier 2011-06-01 * lisp/minibuffer.el (minibuffer-inactive-...
104468: Stefan Monnier 2011-06-01 * lisp/simple.el (goto-line): Use read-num...
104469: Dan Nicolaescu 2011-06-01 * lib-src/emacsclient.c (socket_status): U...
104470: Glenn Morris 2011-06-01 Add :version tags for url-queue.el.
104471: Stefan Monnier 2011-06-01 Silence various byte-compiler warnings.
104472: Dan Nicolaescu 2011-06-01 Make it possible to build with GCC-4.6+ -O...
104473: Teodor Zlatanov 2011-06-01 gnus-registry.el (gnus-registry-remove-ig...
104474: Jay Belanger 2011-06-02 * calc/calc.el (calc-kill-stack-buffer): Mak...
More information about the bazaar
mailing list