<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,9 @@
 # Changelog
 
 ## Next Release
+* ADD Profiler, renders page execution time and db query info in a html comment
+      block at the bottom of the page. Enable/Disable it in app.ini. 
+* ADD Caching of table meta data.
 * ADD Added feed icons for disqus and tamat.
 * CHG Centralized all configuration to app.ini. All other conf files was 
       removed.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -19,4 +19,9 @@ $response = new Zend_Controller_Response_Http();
 $response-&gt;setHeader('Content-Type', 'text/html; charset=UTF-8', true);  
 $frontController-&gt;setResponse($response);
 
+if (Zend_Registry::get('appConfig')-&gt;profiler-&gt;enabled) {
+    $frontController-&gt;registerPlugin(new Common_Controller_Plugin_Profiler(
+                            Zend_Registry::get('db')));
+}
+
 Zend_Controller_Front::run(APPLICATION_PATH . '/controllers');
\ No newline at end of file</diff>
      <filename>app/bootstrap_web.php</filename>
    </modified>
    <modified>
      <diff>@@ -21,6 +21,12 @@ db.params.password = @db.params.password@
 db.params.dbname   = @db.params.dbname@
 
 ;
+; Enable profiler. Will display page execution time and query statistics in a 
+; html comment block at the end of the rendered page. 
+;
+profiler.enabled = @profiler.enabled@
+
+;
 ; Disqus Comment integration
 ; Register disqus account at &lt;http://disqus.com&gt;
 ;
@@ -73,6 +79,11 @@ db.params.password = password
 db.params.dbname   = lifestream
 
 ;
+; Enable profiler the profiler.
+;
+profiler.enabled = false
+
+;
 ; Disable auth in dev env.
 ;
 auth.enabled = false
\ No newline at end of file</diff>
      <filename>app/conf/app.ini</filename>
    </modified>
    <modified>
      <diff>@@ -12,6 +12,12 @@ db.params.password =
 db.params.dbname   = 
 
 ;
+; Enable profiler. Will display page execution time and query statistics in a 
+; html comment block at the end of the rendered page. 
+;
+profiler.enabled = false
+
+;
 ; Auth settings
 ;
 auth.identities.username1 = </diff>
      <filename>deploy_env.properties.example</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dbae5556db836a39e064f0a71c4a6d2274ad6327</id>
    </parent>
  </parents>
  <author>
    <name>Johan Nilsson</name>
    <email>github@markupartist.com</email>
  </author>
  <url>http://github.com/johannilsson/phplifestream/commit/4b1b45de973be7d7856a34dcfff2db5a61d0f434</url>
  <id>4b1b45de973be7d7856a34dcfff2db5a61d0f434</id>
  <committed-date>2009-03-26T14:44:52-07:00</committed-date>
  <authored-date>2009-03-26T14:44:52-07:00</authored-date>
  <message>Added profiler that output page execution time and db query info.</message>
  <tree>563197b7bdea301225f59d398099a8e942b34d33</tree>
  <committer>
    <name>Johan Nilsson</name>
    <email>github@markupartist.com</email>
  </committer>
</commit>
