Skip to content
Snippets Groups Projects

Initial implementation for recording cache operations via a decorator.

Open catch requested to merge issue/drupal-3396196:3396196-separate-cache-operations into 11.x
2 unresolved threads

Closes #3396196

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
105
106 /**
107 * {@inheritdoc}
108 */
109 public function deleteAll() {
110 $start = microtime(TRUE);
111 $this->cacheBackend->deleteAll();
112 $stop = microtime(TRUE);
113 $this->logCacheOperation([], $start, $stop, 'deleteAll');
114 }
115
116 /**
117 * {@inheritdoc}
118 */
119 public function invalidate($cid) {
120 $this->cacheBackend->invalidate($cid);
  • catch added 1 commit

    added 1 commit

    Compare with previous version

  • catch added 1 commit

    added 1 commit

    • 25d937ae - Use assertSame() for cache operation assertions.

    Compare with previous version

  • catch added 1 commit

    added 1 commit

    • f51a3532 - Try assertSame() for database queries.

    Compare with previous version

  • catch added 1 commit

    added 1 commit

    • cc05bf15 - Handle FALSE from curl_exec().

    Compare with previous version

  • catch added 2 commits

    added 2 commits

    Compare with previous version

  • catch added 1 commit

    added 1 commit

    • dffca762 - Individually log from each method.

    Compare with previous version

  • catch added 2 commits

    added 2 commits

    Compare with previous version

  • Kristiaan Van den Eynde
    Kristiaan Van den Eynde @kristiaanvandeneynde started a thread on an outdated change in commit dffca762
  • 131 131 }
    132 132 }
    133 133 foreach ($performance_test_data['cache_operations'] as $operation) {
    134 if ($operation['operation'] === 'getMultiple') {
    134 if (in_array($operation['operation'], ['get', 'getMultiple'])) {
  • catch added 1 commit

    added 1 commit

    • 64e4b9ed - Use third parameter for in_arra()

    Compare with previous version

  • catch added 39 commits

    added 39 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading