1. 23 Apr, 2015 3 commits
    • Robert Lyon's avatar
    • Nigel Cunningham's avatar
      (Bug785472) Remove unneeded raise_memory_limit calls · 039564a5
      Nigel Cunningham authored
      On the basis of my profiling and testing over the last week,
      all of the scripts affected by this patch don't need their
      raise_memory_limit calls. Ensure_sanity currently sets the
      memory limit to 128MB, which has been seen to be more than
      sufficient for each of these use cases.
      
      Tests have involved at least 1000 records being imported in
      each case, and sometimes as many as 20,000. I would have
      liked to have tested with some really full profiles (eg
      lots of pictures and content), but am satisfied that there's
      enough margin to cover those cases. In any case, such files
      are often handled using external apps and therefore won't
      be counted toward PHP's memory use anyway. Finally, the
      limit can easily be increased by the user if necessary for
      a particular case.
      
      Change-Id: Ifecc83fd47da51268bae6cbd6960735eb91f9403
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      039564a5
    • Nigel Cunningham's avatar
      (Bug1364703) Add caching to ArtefactType::get_plugin_name · 6bc4db12
      Nigel Cunningham authored
      Add caching of results to ArtefactType::get_plugin_name.
      In a test export of 1000 users via admin/users/bulkexport.php,
      this patch reduced the number of calls to get_field from 78,000
      to 26 and reduced the execution time from 115 seconds to 92 seconds.
      
      Change-Id: Ie7b2e39089bed1c3cd4844748b21f1ffb251f8dd
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      6bc4db12
  2. 20 Apr, 2015 1 commit
    • Jinelle Foley-Barnes's avatar
      Behat testsuite: Moving features into folders · 5cdd1f45
      Jinelle Foley-Barnes authored
      I have moved the feature files that were outside of folders into folders.
      
      Go to mahara/tests/behat/features to see the ones that have been moved. They were moved in attempt to
      tidy it up and check they are no redundancys.
      
      Change-Id: I63db763a359d2cc715e0a4a6128cf01e774ebbab
      5cdd1f45
  3. 16 Apr, 2015 8 commits
  4. 15 Apr, 2015 14 commits
  5. 14 Apr, 2015 12 commits
  6. 13 Apr, 2015 2 commits