Unverified Commit 1e8ba42f authored by Alex Pott's avatar Alex Pott
Browse files

perf: #3564917 Get rid of gc_collect_cycles() call in attributes discovery

By: catch
parent 64194004
Loading
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -207,10 +207,6 @@ public function getDefinitions() {
    }
    spl_autoload_unregister([$autoloader, 'loadClass']);

    // Plugin discovery is a memory expensive process due to reflection and the
    // number of files involved. Collect cycles at the end of discovery to be as
    // efficient as possible.
    gc_collect_cycles();
    return $definitions;
  }