<%
require 'benchmark'
doc_start_time = Time.now
width_override = yield(:width) ? "width: #{yield(:width)}px !important;" : nil
%>
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
  <meta name="robots" content="noindex, nofollow" />
  <title>WesACB - <%= yield(:title) %></title>
  <%= stylesheet_link_tag    'application', media: 'all',
                                            'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <center>
    <%= render 'layouts/title' %>
    <table width="100%" class="content" style="<%= width_override %>">
      <%= yield %>
    </table>
    <p>
      <%= link_to "Terms of Use", terms_path %> |
      <%= link_to "FAQ",          faq_path %> |
      <%= link_to "Statistics",   stats_path %>
      <br />
      Page generated in <%= (Time.now-doc_start_time).round(2) %> seconds
    </p>
  </center>
</body>
</html>

<%
require 'benchmark'
doc_start_time = Time.now
width_override = yield(:width) ? "width: #{yield(:width)}px !important;" : nil
%>
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
  <meta name="robots" content="noindex, nofollow" />
  <title>WesACB - <%= yield(:title) %></title>
  <%= stylesheet_link_tag    'application', media: 'all',
                                            'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <center>
    <%= render 'layouts/title' %>
    <table width="100%" class="content" style="<%= width_override %>">
      <%= yield %>
    </table>
    <p>
      <%= link_to "Terms of Use", terms_path %> |
      <%= link_to "FAQ",          faq_path %> |
      <%= link_to "Statistics",   stats_path %>
      <br />
      Page generated in <%= (Time.now-doc_start_time).round(3) %> seconds
    </p>
  </center>
</body>
</html>

Change rounding to 3 seconds
Change rounding to 3 seconds
