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

Reply via email to