From 03dd1ed5e56691511b4eb60093a166bcdd47a4be Mon Sep 17 00:00:00 2001
From: Thomas Steur <thomas.steur@googlemail.com>
Date: Mon, 23 Jun 2014 06:54:39 +0200
Subject: [PATCH] this improves tracking performance on my test machine from on
 average 450ms to 350ms

---
 core/Plugin.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/Plugin.php b/core/Plugin.php
index e938a9a1fe..a706469573 100644
--- a/core/Plugin.php
+++ b/core/Plugin.php
@@ -337,6 +337,8 @@ class Plugin
         $files = Filesystem::globr(PIWIK_INCLUDE_PATH . '/plugins/' . $this->pluginName .'/' . $directoryWithinPlugin, '*.php');
 
         foreach ($files as $file) {
+            require_once $file;
+
             $klassName = sprintf('Piwik\\Plugins\\%s\\%s\\%s', $this->pluginName, $directoryWithinPlugin, basename($file, '.php'));
 
             if (!class_exists($klassName)) {
-- 
GitLab