<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 April 2013 21:25, Harold Aling <span dir="ltr"><<a href="mailto:geany@sait.nl" target="_blank">geany@sait.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br>
><br>
>> Lex, any news on speeding up the project index? The tags file<br>
>> generation was done in 6 seconds, the Project plugin takes up to 10<br>
>> minutes to do the same, with the addition of the "go to definition"<br>
>> support ...<br>
><br>
><br>
> Well, you will have to address the speed of the project plugin to its<br>
> developer, but if it has extra functionality I guess that could be part of<br>
> why its slower.  I think it is scanning all the files in the project,<br>
> finding the tags and adding them all to the tagmanager as if the files are<br>
> open.  That could be part of the delay, but the maintainer would know.<br>
><br>
> I checked with the expert on Geany's tags capability, and sadly none of the<br>
> tags system knows the filenames, so it can't do goto definition.<br>
><br>
>><br>
>><br>
>> $ time geany -g /tmp/drupal7.php.tags $(find . -type f -name '*.php'<br>
>> -o -name '*.module' -o -name '*.inc' -o -name '*.install' -o -name<br>
>> '*.engine')<br>
>><br>
>> real 0m6.322s<br>
>> user 0m6.228s<br>
>> sys 0m0.088s<br>
><br>
><br>
> How long does it take to load the tags?<br>
<br>
</div>Within a second:<br>
<br>
13:23:06: This is Geany 1.24 (git >= 235b861).<br>
13:23:06: File /home/harold/checkout/XXXX/modules/contrib/registration/registration.module<br>
opened(1).<br>
13:23:06: File /home/harold/checkout/XXXX/modules/contrib/registration/includes/registration.forms.inc<br>
opened(2).<br>
13:23:06: File /home/harold/checkout/drupal7/sites/all/modules/contrib/flag/flag.module<br>
opened(3).<br>
13:23:06: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.module<br>
opened(4).<br>
13:23:06: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.install<br>
opened(5).<br>
13:23:06: File /home/harold/checkout/XXXX/modules/contrib/vppr/vppr.module<br>
opened(6).<br>
13:23:06: File /home/harold/checkout/XXXX/modules/features/XXXX_ct_page/XXXX_ct_page.info<br>
opened(7).<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div style>Hi Harold,</div><div style><br></div><div style>None of the above are tags files, how long does it take to load drupal7.php.tags?  And does that contain the tags for *all* the files that gproject indexes?</div>
<div style><br></div><div style>I do want to ensure that we are comparing like to like.</div><div style><br></div><div style>Cheers</div><div style>Lex</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">
-H-<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>