Hi,
In my UNIX (OSX 10.8.5). It is as follows:

[with global-6.3.2 source code]

$ python --version
Python 2.7.2
$ gtags --stat
period                             user[sec] system[sec] elapsed[sec] %CPU
---------------------------------- --------- ----------- ------------ ----
Time of creating GTAGS and GRTAGS.     0.054       0.010        0.066 96.4
Time of flushing B-tree cache          0.023       0.010        0.044 75.0
---------------------------------- --------- ----------- ------------ ----
The entire time                        0.077       0.020        0.110 87.9
$ gtags --stat --gtagslabel=ctags
ctags: Warning: ignoring null tag in ./jquery/jquery.js
period                             user[sec] system[sec] elapsed[sec]  %CPU
---------------------------------- --------- ----------- ------------ -----
Time of creating GTAGS and GRTAGS.     0.142       0.061        0.241  84.1
Time of flushing B-tree cache          0.008       0.009        0.013 130.1
---------------------------------- --------- ----------- ------------ -----
The entire time                        0.149       0.070        0.254  86.3
$ gtags --stat --gtagslabel=pygments
ctags: Warning: ignoring null tag in ./jquery/jquery.js
period                             user[sec] system[sec] elapsed[sec]  %CPU
---------------------------------- --------- ----------- ------------ -----
Time of creating GTAGS and GRTAGS.     7.568       0.091        7.952  96.3
Time of flushing B-tree cache          0.023       0.009        0.029 111.0
---------------------------------- --------- ----------- ------------ -----
The entire time                        7.590       0.100        7.981  96.4

> Is this something I should be looking at, or are other OSes comparable?

Probably it is comparable.

Shigio


2014-11-19 9:45 GMT+09:00 Jason Hood <[email protected]>:

> On Windows, ctags is somewhat slower and pygments is considerably slower.
> Is this something I should be looking at, or are other OSes comparable?
> For a test, just consider the C files from the 6.3.2 release:
>
> ===============================================
> C:\test>bsdtar -xf global-6.3.2.tar.gz *.c
>
> C:\test>gtags
>
> C:\test>gtags --stat
> period                             elapsed[sec]
> ---------------------------------- ------------
> Time of creating GTAGS and GRTAGS.        0.082
> Time of flushing B-tree cache             0.106
> ---------------------------------- ------------
> The entire time                           0.188
>
> C:\test>gtags --stat --gtagslabel=ctags
> period                             elapsed[sec]
> ---------------------------------- ------------
> Time of creating GTAGS and GRTAGS.        0.503
> Time of flushing B-tree cache             0.088
> ---------------------------------- ------------
> The entire time                           0.591
>
> C:\test>gtags --stat --gtagslabel=pygments
> period                             elapsed[sec]
> ---------------------------------- ------------
> Time of creating GTAGS and GRTAGS.        6.007
> Time of flushing B-tree cache             0.138
> ---------------------------------- ------------
> The entire time                           6.145
> ===============================================
>
> (BTW, Python 2.7.8 & 3.4.2 were about the same, but 3.3.0 was another
> second slower.)
>
> --
> Jason.
>
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global
>



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to