<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uupaa</author_name>
  <author_url>https://blog.hatena.ne.jp/uupaa/</author_url>
  <blog_title>latest log</blog_title>
  <blog_url>https://uupaa.hatenadiary.org/</blog_url>
  <categories>
    <anon>js</anon>
    <anon>高速化</anon>
  </categories>
  <description>CSS を利用したアニメーションでは、必ず現在時刻を取得するコードが入ります。 var now = +new Date; ECMAScript-262 5th では Date.now() が新しく追加されました。 Date.now() は +new Date と同じ機能(現在時刻を数値で返す)を持ちながら、new の必要がないため速そうです。 ベンチ &lt;!doctype html&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt; &lt;/head&gt;&lt;body&gt; &lt;script&gt; window.onload = function() { Date.now || (Date.now = func…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuupaa.hatenadiary.org%2Fentry%2F20091223%2F1261528727&quot; title=&quot; +new Date を Date.now() に差し替えると200〜400% 高速化も - latest log&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>2009-12-23 09:38:47</published>
  <title> +new Date を Date.now() に差し替えると200〜400% 高速化も</title>
  <type>rich</type>
  <url>https://uupaa.hatenadiary.org/entry/20091223/1261528727</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
