<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>## usage: ruby -s invoke.rb [-n=1000] [command] require 'benchmark' n = ($n || 1000).to_i puts &quot;*** n=#{n}&quot; commands = ARGV.collect {|lib| &quot;ruby -e nil -r #{lib}&quot; } commands.unshift(&quot;ruby -e nil&quot;) Benchmark.bm(30) do |job| commands.each do |command| title = command job.report(title) do (n/10).times …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20100610%2F1276126394&quot; title=&quot; Rubyでライブラリのrequireにかかる時間を計測するスクリプト - kなんとかの日記&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>2010-06-10 08:33:14</published>
  <title> Rubyでライブラリのrequireにかかる時間を計測するスクリプト</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20100610/1276126394</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
