bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Added support for file list in single file update


From: Shigio YAMAGUCHI
Subject: Re: Added support for file list in single file update
Date: Tue, 26 Aug 2014 07:38:13 +0900

Hi,
> $ time gtags -D -i -f gtags.files

What should be written in 'gtags.files'?

o when a file was added
o when a file was changed
o when a file was deleted

Or, aren't these distinguished?

Shigio


2014-08-26 3:36 GMT+09:00 dhruva <address@hidden>:
Sorry for the real long delay. Got caught up with office work.

# Create a list of source files requiring gtags update
$ wc -l gtags.files
8 gtags.files

# Touch the source files to force an update
$ cat gtags.files|xargs touch

# Update gtags via single file update
$ time for ii in `cat gtags.files`; do /usr/software/bin/gtags --single-update $ii; done

real    1m19.445s
user    0m11.462s
sys     0m9.379s

# Touch the source files to force an update
$ cat gtags.files|xargs touch

# Update gtags via batch processing the list of files (patch attached)
$ time gtags -D -i -f gtags.files

real    0m11.431s <--- Improved performance
user    0m1.536s <--- Improved performance
sys     0m1.219s <--- Improved performance


with best regards,
dhruva



On Wed, Jul 9, 2014 at 8:21 PM, Leo Liu <address@hidden> wrote:
On 2014-07-08 14:36 -0700, dhruva wrote:
>  The following patch adds support for batch processing of files from a file
> list during incremental update instead of multiple single file updates.
>
> - Added a new command line option '-D|--delta' to allow specifying a
> delta/incremental file list via '-f'
>
> No need for '+' or '-' prefix like in the original/previous patch.
>
> -dhruva

Not related to the feature. I sometimes wish global has better option
names something that one dosn't read and automatically misunderstand.

Leo


_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global


_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global




--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]