<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasaplus1</author_name>
  <author_url>https://blog.hatena.ne.jp/sasaplus1/</author_url>
  <blog_title>四角革命前夜</blog_title>
  <blog_url>https://sasaplus1.hatenadiary.com/</blog_url>
  <categories>
    <anon>node.js</anon>
  </categories>
  <description>console.timeとかあったな―的な。処理時間を計るのに便利です。 #!/usr/bin/env node // loop.js var TIMER_NAME = 'time'; function a(i) { if (i &gt; 900000) { console.timeEnd(TIMER_NAME); return; } process.nextTick(function () { a(i + 1); }); } console.time(TIMER_NAME); a(0); みたいなコードを実行すると以下のような出力が得られます。 $ node loop.js time: 1228m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasaplus1.hatenadiary.com%2Fentry%2F20120904%2F1346747106&quot; title=&quot;console.time / console.timeEndで処理時間を出力する - 四角革命前夜&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>2012-09-04 17:25:06</published>
  <title>console.time / console.timeEndで処理時間を出力する</title>
  <type>rich</type>
  <url>https://sasaplus1.hatenadiary.com/entry/20120904/1346747106</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
