Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-934

Theme file scanning too slow

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3
    • Fix Version/s: 5.2.0-B1
    • Component/s: Template System
    • Labels:
      None
    • Additional information:
      Hide

      I've also discovered, that it's possible to exclude a folders too via adding their name into parent's folder ".smsignore" file.

      Show
      I've also discovered, that it's possible to exclude a folders too via adding their name into parent's folder ".smsignore" file.
    • Change Log Message:
      Improves theme file processing speed 2 times, when SVN is used
    • Story Points:
      1
    • External issue ID:
      1150
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      During mass refactoring in In-Portal 5.2.0 I've noticed, that ".svn" and "CVS" folder are scanned for template. Since SVN stores a original copy of each folder's file under ".svn" folder it made theme scan work 2 times slower, then it could.
      Same problem was fixed in mass template compilation code.

      I've also made ".smsignore" file matching faster due converting multiple short regular expressions into 1 long regular expression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: