bug-global
[Top][All Lists]
Advanced

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

Re: Improved viewcvs/cvsweb link with modules


From: Hideki IWAMOTO
Subject: Re: Improved viewcvs/cvsweb link with modules
Date: Sat, 26 Aug 2006 14:36:44 +0900

On Sat, 26 Aug 2006 08:58:07 +0900, Shigio YAMAGUCHI wrote...
> > +int use_cvs_module;                    /* --use-cvs-module             */
> 
> How is the --use-cvs-module option profitable?
> If there is authorized information (CVS/Repository),
> why don't we use it?

When it is clear that CVS/Repository doesn't exist, useless processing can be 
omitted by it. 
However, the difference of the execution time is very small. 
I will post a new patch again. 

$ ( tar xfj linux-2.6.18-rc4.tar.bz2 && cd linux-2.6.18-rc4 && gtags && strace 
-c -f -F -q -S calls htags -m start_kernel --
cvsweb=http://cvs.parisc-linux.org/linux-2.6 )
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 41.13   87.526996          91    959494        72 write
 38.37   81.655262          87    939547         5 read
  5.63   11.990097          54    220755           pread
  1.29    2.744975          14    191301           lstat
  2.65    5.643773          45    124569           lseek
  1.76    3.743434          31    121385           mmap
  1.53    3.250502          27    118245           close
  1.70    3.624594          31    117777           fstat
  2.72    5.793790          49    117255           open
  1.78    3.795954          33    116506           munmap
  0.46    0.972660          12     78402      1878 stat
  0.16    0.335450           6     52189           getcwd
  0.10    0.215297           5     39298           mremap
  0.28    0.596063          37     15898           brk
  0.02    0.039717          14      2820           rt_sigaction
  0.02    0.042376          18      2307           mprotect
  0.01    0.029382          17      1714       513 access
  0.01    0.021041          14      1536           rt_sigprocmask
  0.01    0.011458          15       769           uname
  0.22    0.466519         909       513           execve
  0.00    0.008255          16       513           arch_prctl
  0.00    0.002761           9       306           fcntl
  0.00    0.003370          13       257           getpid
  0.00    0.009714          38       256           pipe
  0.00    0.006761          26       256           dup2
  0.12    0.256951        1004       256           clone
  0.00    0.008371          33       256           wait4
  0.00    0.003834          15       256           getuid
  0.00    0.003333          13       256           getgid
  0.00    0.005597          22       256           geteuid
  0.00    0.003936          15       256           getegid
  0.00    0.003442          13       256           getppid
  0.00    0.003458          14       256           getpgrp
  0.00    0.003489          21       169           chdir
  0.00    0.000257          32         8           mkdir
  0.00    0.000098          20         5           unlink
  0.00    0.000045          15         3           chmod
------ ----------- ----------- --------- --------- ----------------
100.00  212.823012               3226101      2468 total
$ ( tar xfj linux-2.6.18-rc4.tar.bz2 && cd linux-2.6.18-rc4 && gtags && strace 
-c -f -F -q -S calls htags -m start_kernel --
cvsweb=http://cvs.parisc-linux.org/linux-2.6 --use-cvs-module )
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 40.78   86.979508          91    959490        68 write
 38.56   82.259847          88    939549         7 read
  5.69   12.137899          55    220755           pread
  1.28    2.737494          14    191301           lstat
  2.67    5.704532          46    124569           lseek
  1.80    3.831474          32    121385           mmap
  2.73    5.815449          49    118857      1602 open
  1.54    3.283705          28    118245           close
  1.72    3.671600          31    117777           fstat
  1.79    3.811665          33    116506           munmap
  0.47    1.008044          13     78402      1878 stat
  0.16    0.335977           6     52189           getcwd
  0.09    0.188704           5     39298           mremap
  0.29    0.612782          39     15898           brk
  0.02    0.041243          15      2820           rt_sigaction
  0.02    0.043072          19      2307           mprotect
  0.01    0.030288          18      1714       513 access
  0.01    0.018700          12      1536           rt_sigprocmask
  0.01    0.012257          16       769           uname
  0.22    0.463231         903       513           execve
  0.00    0.008070          16       513           arch_prctl
  0.00    0.002763           9       306           fcntl
  0.00    0.003536          14       257           getpid
  0.00    0.005999          23       256           pipe
  0.00    0.005876          23       256           dup2
  0.12    0.260280        1017       256           clone
  0.00    0.010049          39       256           wait4
  0.00    0.003470          14       256           getuid
  0.00    0.003480          14       256           getgid
  0.00    0.003840          15       256           geteuid
  0.00    0.004449          17       256           getegid
  0.00    0.003652          14       256           getppid
  0.00    0.006714          26       256           getpgrp
  0.00    0.004274          25       169           chdir
  0.00    0.000265          33         8           mkdir
  0.00    0.000089          18         5           unlink
  0.00    0.000048          16         3           chmod
------ ----------- ----------- --------- --------- ----------------
100.00  213.314325               3227701      4068 total

$ ( tar xfj linux-2.6.18-rc4.tar.bz2 && cd linux-2.6.18-rc4 && gtags && time 
htags --statistics -m start_kernel 
--cvsweb=http://cvs.parisc-linux.org/linux-2.6 )
- Elapsed time of making duplicate entries ............         23 seconds.
- Elapsed time of making function index ...............          2 seconds.
- Elapsed time of making file index ...................          1 seconds.
- Elapsed time of making include file index ...........          6 seconds.
- Elapsed time of making hypertext ....................        149 seconds.
- The entire elapsed time .............................        183 seconds.
168.710u 23.821s 3:02.46 105.5% 0+0k 0+0io 3pf+0w
$ ( tar xfj linux-2.6.18-rc4.tar.bz2 && cd linux-2.6.18-rc4 && gtags && time 
htags --statistics -m start_kernel 
--cvsweb=http://cvs.parisc-linux.org/linux-2.6 --use-cvs-module )
- Elapsed time of making duplicate entries ............         25 seconds.
- Elapsed time of making function index ...............          3 seconds.
- Elapsed time of making file index ...................          0 seconds.
- Elapsed time of making include file index ...........          6 seconds.
- Elapsed time of making hypertext ....................        148 seconds.
- The entire elapsed time .............................        182 seconds.
167.422u 24.181s 3:02.34 105.0% 0+0k 0+0io 3pf+0w

----
Hideki IWAMOTO  address@hidden




reply via email to

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