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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 2.9
    • None
    • Unit tests

    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

              mr-russ Russell Smith
              dmonllao David Monllaó
              David Monllaó David Monllaó
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: