Doctrine 1
  1. Doctrine 1
  2. DC-505

Doctrine_Cache_Db can be much faster

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-ALPHA1, 1.2.0-ALPHA2, 1.2.0-ALPHA3, 1.2.0-BETA1, 1.2.0-BETA2, 1.2.0-BETA3, 1.2.0-RC1, 1.2.0, 1.2.1
    • Fix Version/s: 1.2.2
    • Component/s: Caching
    • Labels:
      None
    • Environment:
      Intel(R) Pentium(R) 4 CPU 3.20GHz, Redhat

      Description

      Each Doctrine_Cache_Db->_doFetch() invocation costs about 50 ms on my PC(depending on the data of course). By using built-in pack() function performance can be increased 700x times. Each invocation now costs about 0.07 ms. The change is very considerable for pages with multiple queries.

        Activity

        Hide
        Jonathan H. Wage added a comment -

        Thanks for the issue and patch!

        Show
        Jonathan H. Wage added a comment - Thanks for the issue and patch!

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            vadik56
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: