[pmwiki-users] SearchPatterns speed vs regular -exclusions

Rogutės Sparnuotos rogutes at googlemail.com
Mon Jun 29 02:31:41 CDT 2009

adam overton (2009-06-28 17:00):
> hi
> quick question
> is using homemade $SearchPatterns generally faster than simply  
> excluding via group=-XXX,-YYY,-ZZZ
> or are they equivalent in speed?
> reason i ask is i've mostly been using group= and name= to exclude  
> certain kinds of groups (i.e. calendar events, a la Group.20090626),  
> and am wondering if i would benefit from shifting to list=noevents
> thanks for the tips
> adam


Just enable the stopwatch and see for yourself, i.e. add
  $EnableStopWatch = 1;
  $EnableDiag = 1;
to your config.php file and
  <!--function:StopWatchHTML 1-->
to the bottom of your skin's .tmpl file (don't forget to remove them
after testing).

--  Rogutės Sparnuotos

More information about the pmwiki-users mailing list