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 <[email protected]> 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 > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-global >
global.patch
Description: Binary data
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
