<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,7 +14,7 @@ require 'rack/cache'
 
 Rails::Initializer.run do |config|
   
-  config.middleware.use &quot;ResponseTimer&quot;
+  config.middleware.use &quot;ResponseTimer&quot;, &quot;Load Time&quot;
   
   config.middleware.use Rack::Cache,
          :verbose =&gt; true,</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,17 +1,22 @@
 class ResponseTimer
-  def initialize(app)
+  def initialize(app, message = &quot;Response Time&quot;)
     @app = app
+    @message = message
   end
   
   def call(env)
+    dup._call(env)
+  end
+  
+  def _call(env)
     @start = Time.now
     @status, @headers, @response = @app.call(env)
     @stop = Time.now
-    return [@status, @headers, self]
+    [@status, @headers, self]
   end
   
   def each(&amp;block)
-    block.call(&quot;&lt;!-- Response Time: #{@stop - @start} --&gt;\n&quot;) if @headers[&quot;Content-Type&quot;].include? &quot;text/html&quot;
+    block.call(&quot;&lt;!-- #{@message}: #{@stop - @start} --&gt;\n&quot;) if @headers[&quot;Content-Type&quot;].include? &quot;text/html&quot;
     @response.each(&amp;block)
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/response_timer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f04fdcad75e759d5049a529c60a1b165dc44df70</id>
    </parent>
  </parents>
  <author>
    <name>Anil Wadghule</name>
    <email>anildigital@gmail.com</email>
  </author>
  <url>http://github.com/anildigital/planet/commit/4d321a7a30ff158cdc7c3da211a270c0c82c45a1</url>
  <id>4d321a7a30ff158cdc7c3da211a270c0c82c45a1</id>
  <committed-date>2009-03-23T13:09:42-07:00</committed-date>
  <authored-date>2009-03-23T13:09:42-07:00</authored-date>
  <message>Made it threadsafe</message>
  <tree>a781bb2e7d2f27e6d1ec1c4c685879bbaf2bd8f6</tree>
  <committer>
    <name>Anil Wadghule</name>
    <email>anildigital@gmail.com</email>
  </committer>
</commit>
