<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taslam</author_name>
  <author_url>https://blog.hatena.ne.jp/taslam/</author_url>
  <blog_title>taslamの日記</blog_title>
  <blog_url>https://taslam.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>active_resource</anon>
  </categories>
  <description>きっかけ ネットワーク越しだし、速度が出ないのはまぁいいんだけど、それにしたって遅い。 具体的にはXMLのパースが遅い、遅すぎる。 なんとかならぬか。どうやらXMLSimpleがボトルネックらしい。 JSON使った方がましかなぁ。 パーサの速度比較 同じデータをto_jsonとto_xmlでそれぞれシリアライズしたファイルを用意。（20数個のフィールドを持つレコード20件のもの。） Hash.from_xml（XmlSimple）、ActiveSupport::JSON.decode、JSON.parse（JSON implementation for Ruby）それぞれでパースに必要な時間を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaslam.hatenadiary.org%2Fentry%2F20080528%2Fp1&quot; title=&quot;ActiveResourceが遅い→JSONならパースが速いよ - taslamの日記&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>2008-05-28 00:00:00</published>
  <title>ActiveResourceが遅い→JSONならパースが速いよ</title>
  <type>rich</type>
  <url>https://taslam.hatenadiary.org/entry/20080528/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
