bug-global
[Top][All Lists]
Advanced

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

Plug-in parser speed


From: Jason Hood
Subject: Plug-in parser speed
Date: Wed, 19 Nov 2014 10:45:54 +1000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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.



reply via email to

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