Permalink
Browse files

A few small fixes

  • Loading branch information...
1 parent a8f9a12 commit 8e1febf6f14135b3453b76e958ab014a43b46cff alson committed Nov 26, 2008
Showing with 9 additions and 15 deletions.
  1. +1 −8 App/Layouts/Default.hs
  2. +6 −5 App/Views/Home/Performance.hs
  3. +1 −1 Config/App.hs
  4. +1 −1 Turbinado/Layout.hs
@@ -6,14 +6,7 @@ page = <html>
<% styleSheet "turbinado" "screen" %>
<% javaScript "jquery" %>
<% javaScript "jsddm" %>
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- var pageTracker = _gat._getTracker("UA-6158816-1");
- pageTracker._trackViewview();
- </script>
+ <% googleAnalytics "UA-6158816-1" %>
</head>
<body>
<table class="wrapper">
@@ -23,18 +23,19 @@ page = <div>
Transfer rate: 104.85 [Kbytes/sec] received
</pre>
<h2>Ruby On Rails - Dynamic Content - Mongrel</h2>
+ <p>Corrected as per GitHub message from <a href="http://github.com/lifo">lifo</a>.</p>
<pre>
Concurrency Level: 10
- Time taken for tests: 45.35484 seconds
+ Time taken for tests: 5.956132 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 470000 bytes
HTML transferred: 12000 bytes
- Requests per second: 22.05 [#/sec] (mean)
- Time per request: 453.548 [ms] (mean)
- Time per request: 45.355 [ms] (mean, across all concurrent requests)
- Transfer rate: 9.92 [Kbytes/sec] received
+ Requests per second: 167.89 [#/sec] (mean)
+ Time per request: 59.561 [ms] (mean)
+ Time per request: 5.956 [ms] (mean, across all concurrent requests)
+ Transfer rate: 76.90 [Kbytes/sec] received
</pre>
<h1>Static Content</h1>
View
@@ -18,6 +18,6 @@ customPostFilters = []
----------------------------------------------------------------
-- Logging
----------------------------------------------------------------
-logLevel = DEBUG -- DEBUG < INFO < NOTICE < WARNING < ERROR < CRITICAL < ALERT < EMERGENCY
+logLevel = ERROR -- DEBUG < INFO < NOTICE < WARNING < ERROR < CRITICAL < ALERT < EMERGENCY
View
@@ -39,5 +39,5 @@ googleAnalytics g = return $ cdata $
"</script> " ++
"<script type=\"text/javascript\"> " ++
" var pageTracker = _gat._getTracker(\"" ++ g ++ "\"); " ++
- " pageTracker._trackViewview(); " ++
+ " pageTracker._trackPageview(); " ++
"</script> "

0 comments on commit 8e1febf

Please sign in to comment.