|
From: | Hideki IWAMOTO |
Subject: | [Global-commit] global gtags.conf.in global/global.c gtags/gtag... |
Date: | Fri, 30 Oct 2009 16:20:27 +0000 |
CVSROOT: /sources/global Module name: global Changes by: Hideki IWAMOTO <h-iwamoto> 09/10/30 16:20:27 Modified files: . : gtags.conf.in global : global.c gtags : gtags.c gtags-parser : C.c Cpp.c asm_parse.y asm_scan.l gctags.c gctags.h java.c php.l Log message: Add 2-pass mode to gtags for performance improvement. The following three points are improved by moving use of function defined() from gtags-parser to gtags. 1. Decreases the frequency of parsing source file from three times to two times. 2. Decreases reading of GTAGS by keeping cache of GTAGS beyond the duration of parser process. 3. Increases parallelism of gtags-parser and gtags on multiprocessor system. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/global/gtags.conf.in?cvsroot=global&r1=1.19&r2=1.20 http://cvs.savannah.gnu.org/viewcvs/global/global/global.c?cvsroot=global&r1=1.198&r2=1.199 http://cvs.savannah.gnu.org/viewcvs/global/gtags/gtags.c?cvsroot=global&r1=1.221&r2=1.222 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/C.c?cvsroot=global&r1=1.11&r2=1.12 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/Cpp.c?cvsroot=global&r1=1.15&r2=1.16 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/asm_parse.y?cvsroot=global&r1=1.11&r2=1.12 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/asm_scan.l?cvsroot=global&r1=1.13&r2=1.14 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/gctags.c?cvsroot=global&r1=1.12&r2=1.13 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/gctags.h?cvsroot=global&r1=1.6&r2=1.7 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/java.c?cvsroot=global&r1=1.7&r2=1.8 http://cvs.savannah.gnu.org/viewcvs/global/gtags-parser/php.l?cvsroot=global&r1=1.12&r2=1.13
[Prev in Thread] | Current Thread | [Next in Thread] |