<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rx7</author_name>
  <author_url>https://blog.hatena.ne.jp/rx7/</author_url>
  <blog_title>元RX-7乗りの適当な日々</blog_title>
  <blog_url>https://www.na3.jp/</blog_url>
  <categories>
    <anon>IT</anon>
    <anon>Linux</anon>
  </categories>
  <description>先日、運用環境のRailsで動いているアプリのログからレスポンスタイムを確認する機会があって、production.logをもとに、時間がかかっている重い処理を抽出しました。ちなみにRailsのバージョンは2.1系です。このエントリは、そのメモ書きです。どの処理が遅いのかを探し出すための最初の一歩ということで参考になれば。 Railsのログ Railsアプリをproductionモードで動かしていると、以下のようなログが各処理の最後で記録され、処理全体にかかった時間や、そのうちのレンダリング処理、DB処理の内訳なども確認できるようになっています。 Completed in 0.52340 (1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.na3.jp%2Fentry%2F20080930%2Fp2&quot; title=&quot;Railsのproductionログから処理に時間がかかっている部分を探す - 元RX-7乗りの適当な日々&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/5168IDfvKXL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-09-30 00:30:00</published>
  <title>Railsのproductionログから処理に時間がかかっている部分を探す</title>
  <type>rich</type>
  <url>https://www.na3.jp/entry/20080930/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
