Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15636

Improve Template execution performance at the cost of memory

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.7, 4.1.4, 4.2.0
    • Fix Version/s: 4.3.0beta2, Customer request
    • Component/s: Caching
    • Labels:
      None
    • Environment:

      eZ Publish 4.0.5

      Description

      This patch will cause compiled templates to be loaded from memory instead of disk. This is required for the slow filesystem of Solaris.

        Activity

        (inactive) Gunnstein Lye created issue -
        Hide
        (inactive) Gunnstein Lye added a comment -

        Attached updated patch for trunk 4.3.eztemplatecompiler.php-trunk.diff

        Show
        (inactive) Gunnstein Lye added a comment - Attached updated patch for trunk 4.3. eztemplatecompiler.php-trunk.diff
        Hide
        André R added a comment -

        Closing cause of lack of benchmark data and documentation on how much memory this will consume.
        Proper way to fix this is by caching templates to php classes or similar like other template systems to avoid having to include the file several times, but that is something to look into for ezcTemplate. (such a change might also makes it easier to implement template inheritance later)

        Show
        André R added a comment - Closing cause of lack of benchmark data and documentation on how much memory this will consume. Proper way to fix this is by caching templates to php classes or similar like other template systems to avoid having to include the file several times, but that is something to look into for ezcTemplate. (such a change might also makes it easier to implement template inheritance later)
        Hide
        ezrobot added a comment -

        This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

        Show
        ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.
        André Rømcke made changes -
        Field Original Value New Value
        Workflow eZ Community Workflow [ 28619 ] eZ Engineering Scrumban Workflow [ 45787 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 45787 ] EZ* Development Workflow [ 80235 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 80235 ] EZEE Development Workflow [ 118813 ]

          People

          • Assignee:
            (inactive) Gunnstein Lye
            Reporter:
            (inactive) Gunnstein Lye
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: