Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49149

Speed up phpunit executions using memory store instance for faster caches reset

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9
    • Fix Version/s: None
    • Component/s: Unit tests
    • Labels:

      Description

      Eloy brain speaks in integration chat:

      offtopic: yesterday i had a crazy idea. what about to create a static (in memory) cache store (exclusively for phpunit executions, where everything happens in the same "request/execution"). There is nothing as quick as that, and it could implement a reset (that is the true killer of any other store) like a simple swap.

      *Integration Note:" Also the reminder warning. Without MDL-56273, there is a failure of unit tests. This expects MDL-56273 to be integrated. If you are the integrator for this issue, please ensure you also integrate MDL-56273 or make sure it's already been integrated. (MDL-56273 has been integrated)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mr-russ Russell Smith
              Reporter:
              dmonllao David Monllaó
              Integrator:
              David Monllaó
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: