<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hs_hachi</author_name>
  <author_url>https://blog.hatena.ne.jp/hs_hachi/</author_url>
  <blog_title>個人的なまとめ</blog_title>
  <blog_url>https://hachi.hatenablog.com/</blog_url>
  <categories>
    <anon>テスト</anon>
  </categories>
  <description>わかってたことだけど改めて気づいたのでまとめましたポイントは 目的をもってリファクタリング 一気になおしたい病を抑えて細かくリファクタリング テストコードがシンプルなものはいいコードであることが多い プログラム性能が悪くなってきたので性能改善のためにリファクタリングをすることになりました。何が遅いかというのはNewRelicを使ってわかってました。ビバNewRelic。どこに注力してなおすか決めないとグダグダになるのは見えてたのでどうなったらいいのか？というゴールを決めましょう。 今回はNewRelicとプログラムを見ると特定の条件を満たすと、DBへのアクセス回数が多いのがわかったので、そこを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhachi.hatenablog.com%2Fentry%2F20140205%2F1391616908&quot; title=&quot;リファクタリングとテストと私 - 個人的なまとめ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-02-05 01:15:08</published>
  <title>リファクタリングとテストと私</title>
  <type>rich</type>
  <url>https://hachi.hatenablog.com/entry/20140205/1391616908</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
