{"issue":{"created_at":"2011-08-12T09:54:03Z","state":"open","updated_at":"2011-12-02T14:13:55Z","comments":57,"user":{"gravatar_id":"aac39c660844a5e8ac3aa09a99501f16","id":25466,"url":"https://api.github.com/users/nilshoerrmann","avatar_url":"https://secure.gravatar.com/avatar/aac39c660844a5e8ac3aa09a99501f16?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"nilshoerrmann"},"body":"Would it be possible to add a new delegate that allows extensions like [DB Sync](https://github.com/nickdunn/db_sync/blob/master/class.mysql.php.txt) or [CDI](https://github.com/remie/CDI/blob/master/class.mysql.php.txt) to work without core modifications?\r\n\r\n/cc @brendo, @nickdunn, @remie","assignee":null,"id":1393776,"labels":[{"color":"c1f17e","name":"needs testing","url":"https://api.github.com/repos/symphonycms/symphony-2/labels/needs+testing"}],"number":739,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Add delegate for query logging","closed_at":null,"html_url":"https://github.com/symphonycms/symphony-2/issues/739","url":"https://api.github.com/repos/symphonycms/symphony-2/issues/739","milestone":{"created_at":"2011-07-03T03:24:13Z","state":"open","closed_issues":2,"due_on":null,"creator":{"gravatar_id":"6be8e584a0f454ac2dc7600bdeaca7b7","id":69268,"url":"https://api.github.com/users/brendo","avatar_url":"https://secure.gravatar.com/avatar/6be8e584a0f454ac2dc7600bdeaca7b7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"brendo"},"number":3,"title":"2.x","description":"Encapsulates all future releases on the 2.x branch.\r\n\r\nIssues assigned to this milestone are on the roadmap, but have not been decided when they'll make into a specific release.","url":"https://api.github.com/repos/symphonycms/symphony-2/milestones/3","open_issues":9}},"action":"created","comment":{"created_at":"2011-12-02T14:13:55Z","updated_at":"2011-12-02T14:13:55Z","user":{"gravatar_id":"6be8e584a0f454ac2dc7600bdeaca7b7","id":69268,"url":"https://api.github.com/users/brendo","avatar_url":"https://secure.gravatar.com/avatar/6be8e584a0f454ac2dc7600bdeaca7b7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"brendo"},"body":"Yeah the original benchmarks for this were surprising as it was slowly to announce the delegate than it was to log all queries regardless. I have not had a chance yet to test @remie's changes, but am keen to.\r\n\r\nI'm very cautious of any performance impact but I understand that some degradation maybe required to allow greater flexibility for extensions. As a sidenote I've been tracking [performance of the default ensemble for awhile](https://docs.google.com/spreadsheet/ccc?key=0AkjdiMJlz7UcdHZTcWc1XzJoeDRnM3Z4THI0UkNLYXc) and am worried at the downward trend of the `2.2.x` branch. I desperately want to correct this in the `2.3.x` branch and push the trend in an upward direction.","id":2990406,"url":"https://api.github.com/repos/symphonycms/symphony-2/issues/comments/2990406"}}